kernel_samsung_a53x/drivers/gpu/drm/amd/display/modules/inc
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
..
mod_freesync.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mod_hdcp.h drm/amd/display: Exit idle optimizations before HDCP execution 2024-11-19 14:19:06 +01:00
mod_info_packet.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mod_shared.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mod_stats.h drm/amd/display: Fix nanosec stat overflow 2024-11-19 09:23:14 +01:00
mod_vmid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00