1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/amdgpu_dm
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>
2018-05-29 14:22:28 -05:00
..
amdgpu_dm.c drm/amd/display: Fix BUG_ON during CRTC atomic check update 2018-05-29 14:22:28 -05:00
amdgpu_dm.h drm/amd/display: Use 4096 lut entries 2018-03-05 15:33:09 -05:00
amdgpu_dm_color.c drm/amd/display: Don't program bypass on linear regamma LUT 2018-04-19 10:19:11 -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 Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
amdgpu_dm_irq.c drm/amd/display: Fix deadlock when flushing irq 2018-04-25 10:07:29 -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-09 15:15:59 -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: Remove unused dm_pp_ interfaces 2018-02-19 14:20:16 -05:00
Makefile drm/amd/display: Implement color management 2018-02-19 14:20:06 -05:00