[PATCH 8/9] fixup! drm/xe/display: Implement display support

Jouni Högander jouni.hogander at intel.com
Thu Dec 7 11:17:05 UTC 2023


Define I915_TILING_X and I915_TILING_Y as 0 This way we get rid of
remaining ifdefs in skl_universal_plane.c.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h | 6 ++++++
 1 file changed, 6 insertions(+)

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 23f2d037c313..a20d2638ea7a 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
@@ -9,6 +9,12 @@
 #include <uapi/drm/i915_drm.h>
 #include <drm/drm_mm.h>
 
+/* We don't want these from i915_drm.h in case of Xe */
+#undef I915_TILING_X
+#undef I915_TILING_Y
+#define I915_TILING_X 0
+#define I915_TILING_Y 0
+
 struct xe_bo;
 
 struct i915_vma {
-- 
2.34.1



More information about the Intel-xe mailing list