mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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>
This commit is contained in:
@@ -396,9 +396,8 @@ static void ggtt_node_remove_work_func(struct work_struct *work)
|
||||
delayed_removal_work);
|
||||
struct xe_device *xe = tile_to_xe(node->ggtt->tile);
|
||||
|
||||
xe_pm_runtime_get(xe);
|
||||
guard(xe_pm_runtime)(xe);
|
||||
ggtt_node_remove(node);
|
||||
xe_pm_runtime_put(xe);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user