]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Take PM ref in delayed snapshot capture worker
authorMatthew Brost <matthew.brost@intel.com>
Tue, 26 Nov 2024 17:46:11 +0000 (09:46 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 28 Nov 2024 00:38:52 +0000 (16:38 -0800)
commit1c6878af115a4586a40d6c14d530fa9f93e0bd83
tree28e8d18ae79bc2035958416e2d65f05207913438
parent97e8cecb6a0dde7ebb8e8e973146b5a131f52b9f
drm/xe: Take PM ref in delayed snapshot capture worker

The delayed snapshot capture worker can access the GPU or VRAM both of
which require a PM reference. Take a reference in this worker.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: 4f04d07c0a94 ("drm/xe: Faster devcoredump")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241126174615.2665852-5-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_devcoredump.c