diff options
| author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2024-02-12 16:51:59 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-27 13:46:16 +0200 |
| commit | fc1f0309789a65f6418ed34ce478f37d12d11150 (patch) | |
| tree | 8b2727371bbe31aa2a49099dca6b29d6d443fc93 /drivers/platform | |
| parent | be4a1fc857707f8330bdae0e1e0edf50c50f101f (diff) | |
| download | linux-fc1f0309789a65f6418ed34ce478f37d12d11150.tar.gz linux-fc1f0309789a65f6418ed34ce478f37d12d11150.tar.bz2 linux-fc1f0309789a65f6418ed34ce478f37d12d11150.zip | |
drm/amd/display: Exit idle optimizations before HDCP execution
[ Upstream commit f30a3bea92bdab398531129d187629fb1d28f598 ]
[WHY]
PSP can access DCN registers during command submission and we need
to ensure that DCN is not in PG before doing so.
[HOW]
Add a callback to DM to lock and notify DC for idle optimization exit.
It can't be DC directly because of a potential race condition with the
link protection thread and the rest of DM operation.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions
