kernel_samsung_a53x/drivers/gpu/drm/amd/display/modules/hdcp
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
..
hdcp.c drm/amd/display: Exit idle optimizations before HDCP execution 2024-11-19 14:19:06 +01:00
hdcp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp1_execution.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp1_transition.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp2_execution.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp2_transition.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp_ddc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp_log.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp_log.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp_psp.c drm/amd/display: Return the correct HDCP error code 2024-11-19 09:22:37 +01:00
hdcp_psp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00