linux-uconsole/drivers
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
..
accessibility
acpi Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
adc rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
amba
android Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
ata Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
atm atm: horizon: Fix irq release error 2017-12-16 10:33:55 +01:00
auxdisplay
base LSK 18.02 v4.4-android 2018-02-07 20:59:20 +08:00
bcma UPSTREAM: gpio: change member .dev to .parent 2018-02-28 14:55:00 +08:00
block pktcdvd: Fix pkt_setup_dev() error path 2018-02-16 20:09:47 +01:00
bluetooth Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
bus sunxi-rsb: Include OF based modalias in device uevent 2018-01-10 09:27:09 +01:00
cdrom
char hwrng: exynos - use __maybe_unused to hide pm functions 2018-02-25 11:03:47 +01:00
cir rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
clk clk: rockchip: drop severity of 'invalid clk rate' message 2018-03-28 12:03:17 +08:00
clocksource clocksource/arm_global_timer: reconfigure clockevents after cpufreq change 2018-03-06 17:29:54 +08:00
cmmb rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
connector
cpufreq cpufreq: dt: adjust opp-table by board IR-Drop 2018-03-16 17:49:29 +08:00
cpuidle Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2018-01-22 11:50:22 +05:30
crypto crypto: s5p-sss - Fix kernel Oops in AES-ECB mode 2018-02-25 11:03:55 +01:00
dca
devfreq PM / devfreq: adjust opp-table by board IR-Drop 2018-03-16 17:49:29 +08:00
dio
dma Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
dma-buf
edac EDAC, octeon: Fix an uninitialized variable warning 2018-02-16 20:09:47 +01:00
eisa
extcon Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
firewire
firmware Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-01-26 19:26:47 +08:00
fmc
fpga
gpio Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
gpu drm/rockchp: rk3328 vop: fix post empty when plug out hdmi 2018-03-30 19:08:36 +08:00
headset_observe rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
hid Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
hsi
hv Drivers: hv: vmbus: fix build warning 2018-02-25 11:03:46 +01:00
hwmon Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
hwspinlock
hwtracing Merge tag 'v4.4.107' into linux-linaro-lsk-v4.4 2017-12-21 12:06:47 +08:00
i2c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
ide
idle idle: i7300: add PCI dependency 2018-02-25 11:03:51 +01:00
iio Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
infiniband IB/ipoib: Fix race condition in neigh creation 2018-03-03 10:19:43 +01:00
input drivers: input: sensor: correct accel sensor kxtj9 report value 2018-03-27 11:55:38 +08:00
iommu iommu/rockchip: return -ENODEV when a disabled iommu node is referenced by master 2018-02-09 11:08:29 +08:00
ipack
irqchip Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
isdn isdn: sc: work around type mismatch warning 2018-02-25 11:03:51 +01:00
leds Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
lguest
lightnvm
macintosh
mailbox rk: rm include/linux/rockchip/common.h 2017-11-17 14:55:40 +08:00
mcb
md Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2018-03-05 20:20:17 +05:30
media camera: rockchip: change gc2415 fps to 20fps for the test of cts/vts 2018-03-22 09:52:21 +08:00
memory ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure 2017-12-16 10:33:51 +01:00
memstick
message mptfusion: hide unused seq_mpt_print_ioc_summary function 2018-02-25 11:03:45 +01:00
mfd mfd/fusb302: some changes make code easier read 2018-03-30 14:16:37 +08:00
misc rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
mmc BACKPORT: FOMLIST: mmc: dw_mmc: update actual clock for mmc debugfs 2018-03-28 17:26:44 +08:00
mtd Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
net net: wireless: rockchip_wlan: fix out of memory when get essid 2018-03-28 14:19:40 +08:00
nfc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-11-02 17:00:07 +08:00
ntb
nubus
nvdimm libnvdimm, namespace: make 'resource' attribute only readable by root 2017-11-30 08:37:23 +00:00
nvme Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
nvmem nvmem: rockchip-otp: Fix section mismatch when compile 2018-02-26 19:57:25 +08:00
of BACKPORT: device property: Introduce fwnode_property_get_reference_args 2017-11-27 14:12:20 +08:00
oprofile
parisc parisc: Hide Diva-built-in serial aux and graphics card 2018-01-02 20:33:20 +01:00
parport
pci Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
pcmcia
perf
phy phy: rockchip-inno-usb2: fix a clang warning 2018-03-26 20:12:52 +08:00
pinctrl pinctrl: rockchip: fix pdm pinctrl for rk3308 2018-03-28 18:50:36 +08:00
platform Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
pnp
power power: rk816-battery: judge 'is_initialized' firstly 2018-03-26 14:23:13 +08:00
powercap
pps
ps3
ptp
pwm pwm: rockchip: Disable irq for pwm config 2018-03-23 09:23:36 +08:00
rapidio
ras
regulator regulator: remove unused rk29-pwm-regulator 2018-03-23 12:13:36 +08:00
remoteproc
reset
rk_nand drivers: rk_nand: update ftl for rk3226 and px30 2018-03-16 17:49:19 +08:00
rpmsg
rtc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
s390 s390/dasd: fix wrongly assigned configuration data 2018-03-03 10:19:43 +01:00
sbus
scsi Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2018-03-05 20:20:17 +05:30
sfi
sh
smc rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
sn
soc soc: rockchip: grf: unmask uart dma request for RK3308 Soc 2018-03-29 16:25:15 +08:00
spi Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
spmi
ssb ssb: mark ssb_bus_register as __maybe_unused 2018-02-25 11:03:44 +01:00
staging Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
switch rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
target target/user: Fix cast from pointer to phys_addr_t 2018-02-25 11:03:46 +01:00
tc
tee BACKPORT: tee: shm: Potential NULL dereference calling tee_shm_register() 2018-03-05 21:58:40 +05:30
testcode rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
thermal thermal: rockchip: add shutdown callback function 2018-03-28 18:55:38 +08:00
thunderbolt
tty Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
uio
usb usb: dwc3: rockchip: support type-c data role swap 2018-03-29 11:14:05 +08:00
uwb uwb: ensure that endpoint is interrupt 2017-10-12 11:27:35 +02:00
vfio
vhost vhost_net: stop device during reset owner 2018-02-16 20:09:38 +01:00
video video: rockchip: vpu: add strict cond for vpu_reset 2018-03-27 14:06:01 +08:00
virt
virtio virtio_balloon: prevent uninitialized variable use 2018-02-25 11:03:42 +01:00
vlynq
vme
w1
watchdog Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
xen xen/gntdev: Fix partial gntdev_mmap() cleanup 2018-03-03 10:19:45 +01:00
zorro
Kconfig
Makefile Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00