[PATCH v2 3/9] fixup! drm/xe/display: Implement display support
Jouni Högander
jouni.hogander at intel.com
Thu Dec 7 13:00:40 UTC 2023
We need to add i915_gem_object_get_dma_address stub to build
intel_cursor.h.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
.../gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h
index 3b305c291cdd..b991069b5cb3 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h
@@ -6,6 +6,15 @@
#ifndef _I915_GEM_OBJECT_H_
#define _I915_GEM_OBJECT_H_
+#include "xe_bo.h"
+
#define i915_gem_object_is_shmem(obj) ((obj)->flags & XE_BO_CREATE_SYSTEM_BIT)
+static inline dma_addr_t i915_gem_object_get_dma_address(const struct xe_bo *bo, pgoff_t n)
+{
+ /* Should never be called */
+ WARN_ON(1);
+ return n;
+}
+
#endif
--
2.34.1
More information about the Intel-xe
mailing list