linux/drivers/gpu/drm/amd/display/amdgpu_dm
Shirish S 36cc549d59 drm/amd/display: disable CRTCs with NULL FB on their primary plane (V2)
The below commit

"drm/atomic: Try to preserve the crtc enabled state in drm_atomic_remove_fb, v2"

introduces a slight behavioral change to rmfb. Instead of disabling a crtc
when the primary plane is disabled, it now preserves it.

This change leads to BUG hit while performing atomic commit on amd driver.

As a fix this patch ensures that we disable the CRTC's with NULL FB by returning
-EINVAL and hence triggering fall back to the old behavior and turning off the
crtc in atomic_remove_fb().

V2: Added error check for plane_state and removed sanity check for crtc.

Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-03-07 16:27:03 -05:00
..
amdgpu_dm_helpers.c
amdgpu_dm_irq.c drm/amd/display: Use real number of CRTCs and HPDs in set_irq_funcs 2017-12-04 16:41:40 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -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: performance profiling instrumentation 2017-12-06 12:48:08 -05:00
amdgpu_dm.c drm/amd/display: disable CRTCs with NULL FB on their primary plane (V2) 2018-03-07 16:27:03 -05:00
amdgpu_dm.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00