The condition in which it’s enabled is hidden from upstream.
From: Brandon Wright
Sent: Saturday, August 8, 2020 10:11 PM
To: Brol, Eryk ; amd-gfx@lists.freedesktop.org; Wood, Wyatt
Subject: Re: [PATCH 12/15] drm/amd/display: Use hw lock mgr
Just curious, but I noticed this new lock manager
Just curious, but I noticed this new lock manager isn't being used because
of the definitive false return value in display/dc/dce/dmub_hw_lock_mgr.c:
should_use_dmub_lock.
Was this supposed to be enabled?
From: Wyatt Wood
>
> [Why]
> Feature requires synchronization of dig, pipe, and cursor locki
From: Wyatt Wood
[Why]
Feature requires synchronization of dig, pipe, and cursor locking
between driver and fw.
[How]
Set flag to force psr to use hw lock mgr.
Signed-off-by: Wyatt Wood
Reviewed-by: Anthony Koo
Acked-by: Eryk Brol
---
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 2 +-
1