linux-uconsole/drivers/gpu
Sandy Huang 77dbbdc036 drm/rockchp: rk3328 vop: fix post empty when plug out hdmi
case 1:
plug in hdmi and power on, after kernel complete and before android
start(maybe can update simplification boot.img) we plug out hdmi will
appear error log.

case 2:
plug in hdmi and power on, at the beginning of drm driver bind, plug out
hdmi, the hdmi irq maybe at disable state, so the vop is in running
state which is set at uboot. in this case vop will not to enable clk
refrerence, after driver probe complete, the unused clk maybe close by
clk driver framework. this will lead to vop appear error log:

[    4.898107] rockchip-vop ff370000.vop: [drm:vop_crtc_enable] Update mode to 720*288
[    4.900174] rockchip-vop ff370000.vop: [drm:vop_isr] *ERROR*BUS_ERROR irq err

solution:
1. disable vop all planes before disable crtc and enable crtc;
2. disable vop all planes when can't detect connect at power on.
3. enable dma stop before detach iommu and disable dma stop after attach
iommu.

Change-Id: Ia981d52c96a274fa177493d10362fd4e395a6707
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-03-30 19:08:36 +08:00
..
arm MALI: rockchip: upgrade bifrost DDK to r11p0-01rel0 2018-03-26 16:32:38 +08:00
drm drm/rockchp: rk3328 vop: fix post empty when plug out hdmi 2018-03-30 19:08:36 +08:00
host1x rk: revert to v3.10 2015-11-11 15:57:28 +08:00
ipu-v3 drm/imx: Match imx-ipuv3-crtc components using device node in platform data 2016-06-07 18:14:37 -07:00
rogue rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
rogue_m rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
vga vgaarb: fix signal handling in vga_get() 2015-12-11 14:04:44 +10:00
Makefile MALI: add midgard src dir 2016-03-09 16:51:03 +08:00