From c3744ceb99e54e41f9f4a7a8938f2e12e0be23f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jouni=20H=C3=B6gander?= Date: Tue, 12 Sep 2023 09:47:09 +0300 Subject: [PATCH] drm/xe/display: Add empty define for i915_ggtt_clear_scanout MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add empty define for i915_ggtt_clear_scanout to avoid build failure. Signed-off-by: Jouni Högander Reviewed-by: Maarten Lankhorst Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h index e4bbdffcd5f5a..88771f5e03cc3 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h @@ -22,6 +22,7 @@ struct i915_vma { struct drm_mm_node node; }; +#define i915_ggtt_clear_scanout(bo) do { } while (0) static inline u32 i915_ggtt_offset(const struct i915_vma *vma) { -- 2.30.2