summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/compat-i915-headers
diff options
context:
space:
mode:
authorJouni Högander <jouni.hogander@intel.com>2023-09-12 09:47:09 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:44:31 +0300
commitc3744ceb99e54e41f9f4a7a8938f2e12e0be23f0 (patch)
treebfac3411d5a049f4c43a8fb1096c90ea7051116a /drivers/gpu/drm/xe/compat-i915-headers
parentfb764a35c7f45a378ae064016c321d61532113b9 (diff)
downloadlinux-c3744ceb99e54e41f9f4a7a8938f2e12e0be23f0.tar.xz
drm/xe/display: Add empty define for i915_ggtt_clear_scanout
Add empty define for i915_ggtt_clear_scanout to avoid build failure. Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/compat-i915-headers')
-rw-r--r--drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h1
1 files changed, 1 insertions, 0 deletions
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 e4bbdffcd5f5..88771f5e03cc 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)
{