drm/panic: Internalize panic locking in DRM core and helpers

None of the DRM drivers handles panic locking. Declare the interfaces
in an internal header file. Move the trylock required during the panic
into the DRM core's sources.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20260911124540.279841-13-tzimmermann@suse.de
This commit is contained in:
Thomas Zimmermann 2026-09-11 14:44:05 +02:00
commit 3ae80dc240
7 changed files with 66 additions and 68 deletions