]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Revert "drm/amd/display: Use HW lock mgr for PSR1"
authorTom Chung <chiahsuan.chung@amd.com>
Tue, 4 Feb 2025 07:07:44 +0000 (15:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Feb 2025 22:47:34 +0000 (17:47 -0500)
This reverts commit
a2b5a9956269 ("drm/amd/display: Use HW lock mgr for PSR1")

Because it may cause system hang while connect with two edp panel.

Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c

index 5bb8b78bf250a0e56c3e99ce7c99ed7f70c8f0f6..bf636b28e3e16eda6a007d9f69f1cd84717028a5 100644 (file)
@@ -63,8 +63,7 @@ void dmub_hw_lock_mgr_inbox0_cmd(struct dc_dmub_srv *dmub_srv,
 
 bool should_use_dmub_lock(struct dc_link *link)
 {
-       if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 ||
-           link->psr_settings.psr_version == DC_PSR_VERSION_1)
+       if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1)
                return true;
 
        if (link->replay_settings.replay_feature_enabled)