linux_dsm_epyc7002/drivers/gpu/drm/amd/display/amdgpu_dm
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_color.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
amdgpu_dm_crc.c drm/amd/display: Skip 2 frames when first reading CRC 2018-02-19 14:20:11 -05:00
amdgpu_dm_helpers.c drm/amd/display: Fix up dm logging functionality 2018-05-18 16:08:26 -05:00
amdgpu_dm_irq.c drm/amd/display: Do not program interrupt status on disabled crtc 2018-05-29 13:30:38 -05:00
amdgpu_dm_irq.h drm/amd/display: make amdgpu_dm_irq_handler static 2017-10-17 10:43:04 +10:00
amdgpu_dm_mst_types.c drm/amd/display: Don't return ddc result and read_bytes in same return value 2018-05-15 13:44:16 -05:00
amdgpu_dm_mst_types.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_services.c drm/amd/display: Fix wrong latency assignment for VEGA clock levels 2018-05-29 13:16:48 -05:00
amdgpu_dm.c drm/amd/display: Fix BUG_ON during CRTC atomic check update 2018-05-29 14:01:49 -05:00
amdgpu_dm.h drm/admgpu: fix mode_valid's return type 2018-05-15 13:43:51 -05:00
Makefile drm/amd/display: Implement color management 2018-02-19 14:20:06 -05:00