linux/drivers/gpu/drm/amd/display
Leo (Sunpeng) Li 20d4ac659c 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>
2018-05-29 14:01:49 -05:00
..
amdgpu_dm drm/amd/display: Fix BUG_ON during CRTC atomic check update 2018-05-29 14:01:49 -05:00
dc drm/amd/display: Read DP_SINK_COUNT_ESI range on HPD for DP 1.4 2018-05-29 14:01:48 -05:00
include drm/amd/display: fix dscl_manual_ratio_init 2018-05-29 13:28:29 -05:00
modules Merge branch 'drm-next-4.18' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-05-25 10:28:33 +10:00
Kconfig drm/amdgpu/display: remove VEGA20 config option 2018-05-18 16:08:18 -05:00
Makefile drm/amd: Remove inclusion of non-existing include directories 2018-02-26 23:09:38 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00