[Intel-xe] [PATCH 09/12] fixup! drm/i915/display: Remaining changes to make xe compile
Jouni Högander
jouni.hogander at intel.com
Fri Aug 25 09:39:01 UTC 2023
Fixups related to "drm/xe: Add empty define for i915_ggtt_clear_scanout".
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_frontbuffer.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
index 92e027fb52b7..48f5b2fc8bf3 100644
--- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c
@@ -230,9 +230,7 @@ static void frontbuffer_release(struct kref *ref)
drm_WARN_ON(&intel_bo_to_i915(obj)->drm, atomic_read(&front->bits));
-#ifdef I915
i915_ggtt_clear_scanout(obj);
-#endif
i915_gem_object_set_frontbuffer(obj, NULL);
spin_unlock(&intel_bo_to_i915(obj)->display.fb_tracking.lock);
--
2.34.1
More information about the Intel-xe
mailing list