summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe
diff options
context:
space:
mode:
authorJouni Högander <jouni.hogander@intel.com>2023-09-13 12:54:11 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:44:31 +0300
commitc890be73933a3c124ffa08411d8d279aeede4384 (patch)
tree672704b019e8800da49d8ecd553b11cbbb9e536a /drivers/gpu/drm/xe
parentc5a2eadd729ba3538f77ea2e055ca1f2efe82092 (diff)
downloadlinux-c890be73933a3c124ffa08411d8d279aeede4384.tar.xz
drm/xe/display: Add i915_gem.h compatibility header
Add i915_gem.h compatibility header and include it in i915_drv.h. Add empty GEM_BUG_ON definition for fbc code. 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')
-rw-r--r--drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h1
-rw-r--r--drivers/gpu/drm/xe/compat-i915-headers/i915_gem.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
index 738573ae5f10..e5d1a4a3d8b4 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
@@ -19,6 +19,7 @@
#include "xe_bo.h"
#include "xe_pm.h"
#include "xe_step.h"
+#include "i915_gem.h"
#include "i915_gem_stolen.h"
#include "i915_gpu_error.h"
#include "i915_reg_defs.h"
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_gem.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_gem.h
new file mode 100644
index 000000000000..06b723a479c5
--- /dev/null
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_gem.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#ifndef __I915_GEM_H__
+#define __I915_GEM_H__
+#define GEM_BUG_ON
+#endif