drm/amd/display: Disable ABM when eDP is disabled
authorAmy Zhang <Amy.Zhang@amd.com>
Fri, 12 May 2017 19:54:29 +0000 (15:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:12 +0000 (18:07 -0400)
commitaa7397dfd4cd2e31f007ad3adc08823afb40c25b
tree41bb0fdce58e21a97f4ed2a46c3a752700852af5
parente806208dc1daebf3b236d0188709d943cf0d9f16
drm/amd/display: Disable ABM when eDP is disabled

- Add immediate ABM disable when eDP is disabled
- Fix purple screen when ABM is mistakenly enabled
on non eDP display

Signed-off-by: Amy Zhang <Amy.Zhang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c
drivers/gpu/drm/amd/display/dc/inc/hw/abm.h