drm/xe/pm: Add lockdep annotation for the pm_block completion
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 18 Sep 2025 14:28:48 +0000 (16:28 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 23 Sep 2025 12:42:58 +0000 (14:42 +0200)
commitf73f6dd312a5616a8d97860663f6c88ffba43ad4
tree98eff3a50446f64f8a970689a7f80c3a70b183e3
parent1364a9ead45f62a49533331687dc894f5a057cfe
drm/xe/pm: Add lockdep annotation for the pm_block completion

Similar to how we annotate dma-fences, add lockep annotation to
the pm_block completion to ensure we don't wait for it while holding
locks that are needed in the pm notifier or in the device
suspend / resume callbacks.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20250918142848.21807-3-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_exec.c
drivers/gpu/drm/xe/xe_pm.c
drivers/gpu/drm/xe/xe_pm.h
drivers/gpu/drm/xe/xe_vm.c