projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa4b73
)
drm/xe/ggtt: Use scope-based runtime pm
author
Matt Roper
<matthew.d.roper@intel.com>
Tue, 18 Nov 2025 16:44:01 +0000
(08:44 -0800)
committer
Matt Roper
<matthew.d.roper@intel.com>
Wed, 19 Nov 2025 19:58:58 +0000
(11:58 -0800)
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>
drivers/gpu/drm/xe/xe_ggtt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_ggtt.c
b/drivers/gpu/drm/xe/xe_ggtt.c
index
ef481b3
..
48ab8b4
100644
(file)
--- a/
drivers/gpu/drm/xe/xe_ggtt.c
+++ b/
drivers/gpu/drm/xe/xe_ggtt.c
@@
-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);
}
/**