OpenCloudOS-Kernel/drivers/gpu/drm/hisilicon/kirin
Peter Griffin a2f0424307 drm/hisilicon: Ensure LDI regs are properly configured.
This patch fixes the following soft lockup:
  BUG: soft lockup - CPU#0 stuck for 23s! [weston:307]

On weston idle-timeout the IP is powered down and reset
asserted. On weston resume we get a massive vblank
IRQ storm due to the LDI registers having lost some state.

This state loss is caused by ade_crtc_atomic_begin() not
calling ade_ldi_set_mode(). With this patch applied
resuming from Weston idle-timeout works well.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Cc: stable@vger.kernel.org
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2017-11-01 10:36:50 +08:00
..
Kconfig drm/hisilicon: add select HISI_KIRIN_DW_DSI 2016-07-04 18:49:20 +08:00
Makefile drm/hisilicon: Add designware dsi encoder driver 2016-04-29 16:39:13 +08:00
dw_drm_dsi.c drm: kirin: Add mode_valid logic to avoid mode clocks we can't generate 2017-08-29 05:20:35 +10:00
dw_dsi_reg.h drm/hisilicon: Add designware dsi encoder driver 2016-04-29 16:39:13 +08:00
kirin_ade_reg.h drm/hisilicon: Add crtc driver for ADE 2016-04-29 16:39:12 +08:00
kirin_drm_ade.c drm/hisilicon: Ensure LDI regs are properly configured. 2017-11-01 10:36:50 +08:00
kirin_drm_drv.c drm/kirin: Checking for IS_ERR() instead of NULL 2017-10-12 14:09:45 -04:00
kirin_drm_drv.h drm/hisilicon: fix build error without fbdev emulation 2017-07-26 13:45:09 +02:00