]> 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)
commit90995118ffb44ae182630752b3dd265bef913037
tree5b5cbcfab9298c8d40c086d935babf665aef3ee9
parent6fb76cd5d8267dec937b300f7c4f717d29d6c343
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