OpenCloudOS-Kernel/drivers/gpu/drm/rockchip
Tomeu Vizoso 0546d685f0 drm/rockchip: analogix_dp: Refuse to enable PSR if panel doesn't support it
There's no point in enabling PSR when the panel doesn't support it.

This also avoids a problem when PSR gets enabled when a CRTC is being
disabled, because sometimes in that situation the DSP_HOLD_VALID_INTR
interrupt on which we wait will never arrive. This was observed on
RK3288 with a panel without PSR (veyron-jaq Chromebook).

It's very easy to reproduce by running the kms_rmfb test in IGT a few
times.

Cc: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1474639600-30090-2-git-send-email-tomeu.vizoso@collabora.com
2016-10-04 08:23:17 +02:00
..
Kconfig drm/rockchip: make fbdev support really optional 2016-07-15 10:28:20 -04:00
Makefile drm/rockchip: add an common abstracted PSR driver 2016-08-23 11:44:32 -04:00
analogix_dp-rockchip.c drm/rockchip: analogix_dp: Refuse to enable PSR if panel doesn't support it 2016-10-04 08:23:17 +02:00
dw-mipi-dsi.c drm: rockchip: Rely on the default ->best_encoder() behavior 2016-06-10 17:24:37 +02:00
dw_hdmi-rockchip.c drm/rockchip: dw_hdmi: remove unused #include 2016-07-19 09:42:18 +08:00
inno_hdmi.c drm: rockchip: Rely on the default ->best_encoder() behavior 2016-06-10 17:24:37 +02:00
inno_hdmi.h drm/rockchip: hdmi: add Innosilicon HDMI support 2016-02-18 13:56:43 +08:00
rockchip_drm_drv.c drm/rockchip: mark symbols static where possible 2016-10-04 08:23:01 +02:00
rockchip_drm_drv.h drm/rockchip: Replace custom wait_for_vblanks with helper 2016-09-21 06:55:51 -07:00
rockchip_drm_fb.c drm/rockchip: Replace custom wait_for_vblanks with helper 2016-09-21 06:55:51 -07:00
rockchip_drm_fb.h drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
rockchip_drm_fbdev.c drm/rockchip: add missing header dependencies 2016-10-04 08:23:00 +02:00
rockchip_drm_fbdev.h drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION 2016-01-22 08:45:31 +08:00
rockchip_drm_gem.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
rockchip_drm_gem.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
rockchip_drm_psr.c drm/rockchip: Fix up bug in psr state machine 2016-09-21 06:55:49 -07:00
rockchip_drm_psr.h drm/rockchip: Don't key off vblank for psr 2016-09-21 06:55:47 -07:00
rockchip_drm_vop.c drm/rockchip: Balance irq refcount on failure 2016-09-21 06:55:53 -07:00
rockchip_drm_vop.h drm/rockchip: vop: export line flag function 2016-08-23 11:44:31 -04:00
rockchip_vop_reg.c Merge branch 'for-next' of git://people.freedesktop.org/~seanpaul/dogwood into drm-next 2016-08-25 12:35:35 +10:00
rockchip_vop_reg.h drm/rockchip: vop: add rk3399 vop support 2016-08-23 11:44:29 -04:00