Skip to content

Commit b5c764d

Browse files
Tom Chungalexdeucher
Tom Chung
authored andcommitted
drm/amd/display: Use HW lock mgr for PSR1
[Why] Without the dmub hw lock, it may cause the lock timeout issue while do modeset on PSR1 eDP panel. [How] Allow dmub hw lock for PSR1. Reviewed-by: Sun peng Li <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit a2b5a99)
1 parent 470d4f0 commit b5c764d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ void dmub_hw_lock_mgr_inbox0_cmd(struct dc_dmub_srv *dmub_srv,
6363

6464
bool should_use_dmub_lock(struct dc_link *link)
6565
{
66-
if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1)
66+
if (link->psr_settings.psr_version == DC_PSR_VERSION_SU_1 ||
67+
link->psr_settings.psr_version == DC_PSR_VERSION_1)
6768
return true;
6869

6970
if (link->replay_settings.replay_feature_enabled)

0 commit comments

Comments
 (0)