[Intel-xe] [PATCH 12/12] drm/i915/display: Use drm_gem_object_get/put
Jouni Högander
jouni.hogander at intel.com
Fri Aug 25 09:39:04 UTC 2023
Use drm_gem_object_ge/put directly instead of i915_gem_object_get/put.
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_frontbuffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
index 67d05db7c8b0..04f2694c2e17 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
@@ -236,7 +236,7 @@ static void frontbuffer_release(struct kref *ref)
i915_active_fini(&front->write);
- i915_gem_object_put(obj);
+ drm_gem_object_put(intel_bo_to_drm_bo(obj));
kfree_rcu(front, rcu);
}
--
2.34.1
More information about the Intel-xe
mailing list