linux/drivers/gpu/drm/amd
Leo (Sunpeng) Li 20fa2ff044 drm/amd/display: Fix BUG_ON during CRTC atomic check update
For cases where the CRTC is inactive (DPMS off), where a modeset is not
required, yet the CRTC is still in the atomic state, we should not
attempt to update anything on it.

Previously, we were relying on the modereset_required() helper to check
the above condition. However, the function returns false immediately if
a modeset is not required, ignoring the CRTC's enable/active state
flags. The correct way to filter is by looking at these flags instead.

Fixes: e277adc5a0 "drm/amd/display: Hookup color management functions"
Bugzilla: https://bugs.freedesktop.org/106194

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
History 2018-05-29 14:22:28 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Switch to interruptable wait to recover from ring hang. 2018-05-09 15:16:51 -05:00
amdkfd drm/amdkfd: fix build, select MMU_NOTIFIER 2018-04-24 12:50:04 +03:00
display drm/amd/display: Fix BUG_ON during CRTC atomic check update 2018-05-29 14:22:28 -05:00
include drm/amd: Add BIOS smu_info v3_3 required struct def. 2018-05-09 15:15:31 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: Fix performance drop on Fiji 2018-05-10 08:25:22 -05:00