]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit688db1398483a1dd8a8e6ebe1f1ed51e060d252a
tree5b5cbcfab9298c8d40c086d935babf665aef3ee9
parent977abcb46ea5c3e0435b1c4ffcde17353f6a1aab
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