aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2016-09-23 14:06:40 +0000
committerDaniel Vetter <[email protected]>2016-10-04 06:23:17 +0000
commit0546d685f07cc4fc5748fd36e57d167877c2842d (patch)
tree56b229e308a2efaae292b3bb0d0d8308a39ef518 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
parentdrm/bridge: analogix_dp: Add analogix_dp_psr_supported (diff)
downloadkernel-0546d685f07cc4fc5748fd36e57d167877c2842d.tar.gz
kernel-0546d685f07cc4fc5748fd36e57d167877c2842d.zip
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 <[email protected]> Reviewed-by: Sean Paul <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions