summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2025-11-18 08:44:01 -0800
committerSasha Levin <sashal@kernel.org>2026-03-04 07:19:48 -0500
commit205af573d389475c0a08814f599e5cb3c1cce30e (patch)
treeca171449b74247e95d2ddfb5915b06e79e0d1a91 /drivers/gpu/drm/xe
parent8e3f59750028367470f9f3fea385c2354229b66a (diff)
downloadlinux-205af573d389475c0a08814f599e5cb3c1cce30e.tar.gz
linux-205af573d389475c0a08814f599e5cb3c1cce30e.tar.bz2
linux-205af573d389475c0a08814f599e5cb3c1cce30e.zip
drm/xe/ggtt: Use scope-based runtime pm
[ Upstream commit 8a579f4b2476fd1df07e2bca9fedc82a39a56a65 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/xe')
-rw-r--r--drivers/gpu/drm/xe/xe_ggtt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index 793d7324a395..9e6b4e983542 100644
--- 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);
}
/**