Skip to contentSkip to conversation

Revert "drm/amd/display: Use HW lock mgr for PSR1"

PATCH In review Tom Chung 2 participants 2 messages Feb 4, 2025

Subsystems (3)
lore
Share & tools
lore

Tom Chung

author
#0 lore raw

PATCH 1/1 Revert "drm/amd/display: Use HW lock mgr for PSR1"

This reverts commit
2a69ae1e1354 ("drm/amd/display: Use HW lock mgr for PSR1")

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

---
 drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c +1 -2
index 5bb8b78bf250..bf636b28e3e1 100644
@@ -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)
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

[Public]

Feel free to add:

Quoted 36 lines

-----Original Message-----
From: Tom Chung <[email protected]>
Sent: Tuesday, February 4, 2025 3:13 PM
To: [email protected]
Cc: Lin, Wayne <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Chung, ChiaHsuan (Tom) <[email protected]>
Subject: [PATCH] Revert "drm/amd/display: Use HW lock mgr for PSR1"

This reverts commit
2a69ae1e1354 ("drm/amd/display: Use HW lock mgr for PSR1")

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

---
 drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c +1 -3
index 5bb8b78bf250..bf636b28e3e1 100644
@@ -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)
--

2.34.1