kernel_samsung_a53x/drivers/gpu/drm/amd/display/modules
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
..
color Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
freesync Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp drm/amd/display: Exit idle optimizations before HDCP execution 2024-11-19 14:19:06 +01:00
inc drm/amd/display: Exit idle optimizations before HDCP execution 2024-11-19 14:19:06 +01:00
info_packet Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmid Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00