[Why]
A deadlock in the kernel occurs when we fallback from the V3 to V2
add_topology_to_display or remove_topology_to_display because they
both try to acquire the dtm_mutex but recursive locking isn't
supported on mutex_lock().
[How]
Make the mutex_lock/unlock more fine grained and move them up such that
they're only required for the psp invocation itself.
Fixes:
|
||
|---|---|---|
| .. | ||
| hdcp1_execution.c | ||
| hdcp1_transition.c | ||
| hdcp2_execution.c | ||
| hdcp2_transition.c | ||
| hdcp_ddc.c | ||
| hdcp_log.c | ||
| hdcp_log.h | ||
| hdcp_psp.c | ||
| hdcp_psp.h | ||
| hdcp.c | ||
| hdcp.h | ||
| Makefile | ||