diff options
| author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2025-05-05 14:19:15 +0200 |
|---|---|---|
| committer | Maarten Lankhorst <dev@lankhorst.se> | 2025-06-09 10:21:44 +0200 |
| commit | b5fe33dcb8d4b6cf4d4664eaf2432617a7843bf9 (patch) | |
| tree | af13680b4a8dda54066b958927a8a8260633e7a3 /drivers/gpu/drm/xe/xe_bo.c | |
| parent | 3975d356839e2c1ec53392fb21a0bbac56c2ca3f (diff) | |
| download | linux-next-b5fe33dcb8d4b6cf4d4664eaf2432617a7843bf9.tar.gz linux-next-b5fe33dcb8d4b6cf4d4664eaf2432617a7843bf9.zip | |
drm/xe: Add xe_ggtt_might_lock
Another requirement of hiding more of struct xe_ggtt.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250505121924.921544-3-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_bo.c')
| -rw-r--r-- | drivers/gpu/drm/xe/xe_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c index f35a7786a56f..4e39188a021a 100644 --- a/drivers/gpu/drm/xe/xe_bo.c +++ b/drivers/gpu/drm/xe/xe_bo.c @@ -3076,7 +3076,7 @@ void xe_bo_put(struct xe_bo *bo) #endif for_each_tile(tile, xe_bo_device(bo), id) if (bo->ggtt_node[id] && bo->ggtt_node[id]->ggtt) - might_lock(&bo->ggtt_node[id]->ggtt->lock); + xe_ggtt_might_lock(bo->ggtt_node[id]->ggtt); drm_gem_object_put(&bo->ttm.base); } } |
