drm/amd/display: turn DPMS off on connector unplug
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 26 Nov 2020 21:45:59 +0000 (16:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 21:00:06 +0000 (16:00 -0500)
commit3c4d55c9b9becedd8d31a7c96783a364533713ab
tree5b5cbcfab9298c8d40c086d935babf665aef3ee9
parent3f16ae825697fe317c14e97f80c2ad487b55b3e9
drm/amd/display: turn DPMS off on connector unplug

[Why&How]

Set dpms off on the connector that was unplugged, for the side effect of
releasing some references held through deallocation of MST payload. This is
the expected behaviour for non MST devices as well.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_stream.h