diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2024-02-12 16:51:59 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-20 13:36:29 -0400 |
commit | f30a3bea92bdab398531129d187629fb1d28f598 (patch) | |
tree | 54bd38e1ef234bedc108c04349be83ee854632dc /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | |
parent | bc55c344b06f7e6f99eb92d393ff0a84c1532514 (diff) | |
download | linux-f30a3bea92bdab398531129d187629fb1d28f598.tar.gz linux-f30a3bea92bdab398531129d187629fb1d28f598.tar.bz2 linux-f30a3bea92bdab398531129d187629fb1d28f598.zip |
drm/amd/display: Exit idle optimizations before HDCP execution
[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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions