mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amd/display: Revert "drm/amd/display: Add flag to detect dpms force off during HPD"
This reverts commit035f54969b. The reverted commit was trying to fix side effect brought by commit3c4d55c9b9("drm/amd/display: turn DPMS off on connector unplug") However, * This reverted commit will have mst case never call dm_set_dpms_off() which conflicts the idea of original commit3c4d55c9b9("drm/amd/display: turn DPMS off on connector unplug") That's due to dm_crtc_state is always null since the input parameter aconnector is the root device (source) of mst topology. It's not an end stream sink within the mst topology. * Setting dpms off should be triggered by usermode. Besdies, it seems usermode does release relevant resource for mst & non-mst case when unplug connecotr now. Which means we no longer need both commits now: commit3c4d55c9b9("drm/amd/display: turn DPMS off on connector unplug") commit035f54969b("drm/amd/display: Add flag to detect dpms force off during HPD") Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Aurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -639,8 +639,6 @@ struct dm_crtc_state {
|
||||
|
||||
bool dsc_force_changed;
|
||||
bool vrr_supported;
|
||||
|
||||
bool force_dpms_off;
|
||||
struct mod_freesync_config freesync_config;
|
||||
struct dc_info_packet vrr_infopacket;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user