kernel_samsung_a53x/drivers/gpu/drm/amd
Nicholas Kazlauskas 8c9eb69002 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>
2024-11-19 14:19:06 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: add error handle to avoid out-of-bounds 2024-11-19 12:27:13 +01:00
amdkfd drm/amdkfd: Flush the process wq before creating a kfd_process 2024-11-19 12:26:52 +01:00
display drm/amd/display: Exit idle optimizations before HDCP execution 2024-11-19 14:19:06 +01:00
include drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7 2024-11-18 11:43:13 +01:00
pm drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()' 2024-11-18 12:13:20 +01:00