Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/ggtt: Use scope-based runtime pm

Switch the GGTT code to scope-based runtime PM for consistency with
other parts of the driver.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20251118164338.3572146-51-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>

+1 -2
+1 -2
drivers/gpu/drm/xe/xe_ggtt.c
··· 396 396 delayed_removal_work); 397 397 struct xe_device *xe = tile_to_xe(node->ggtt->tile); 398 398 399 - xe_pm_runtime_get(xe); 399 + guard(xe_pm_runtime)(xe); 400 400 ggtt_node_remove(node); 401 - xe_pm_runtime_put(xe); 402 401 } 403 402 404 403 /**