[Intel-xe] [PATCH 11/12] fixup! drm/i915/display: Remaining changes to make xe compile
Jouni Högander
jouni.hogander at intel.com
Fri Aug 25 09:39:03 UTC 2023
Fixups related to "drm/i915/display: Use drm_gem_object_get/put".
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_frontbuffer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
index 48f5b2fc8bf3..67d05db7c8b0 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
@@ -236,9 +236,8 @@ static void frontbuffer_release(struct kref *ref)
i915_active_fini(&front->write);
-#ifdef I915
i915_gem_object_put(obj);
-#endif
+
kfree_rcu(front, rcu);
}
--
2.34.1
More information about the Intel-xe
mailing list