[Intel-xe] [PATCH 3/5] Revert "FIXME: drm/i915: revert the earlier mmio_offset change"

Jani Nikula jani.nikula at intel.com
Tue Sep 5 14:13:45 UTC 2023


This reverts commit ada332ee9c5d65590377719f3d5f6a8b10afdd53.
---
 drivers/gpu/drm/i915/display/intel_display_reg_defs.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_display_reg_defs.h b/drivers/gpu/drm/i915/display/intel_display_reg_defs.h
index 2f07b7afa3bf..42199c1dc55d 100644
--- a/drivers/gpu/drm/i915/display/intel_display_reg_defs.h
+++ b/drivers/gpu/drm/i915/display/intel_display_reg_defs.h
@@ -8,7 +8,11 @@
 
 #include "i915_reg_defs.h"
 
+#ifdef I915
 #define DISPLAY_MMIO_BASE(dev_priv)	(DISPLAY_INFO(dev_priv)->mmio_offset)
+#else
+#define DISPLAY_MMIO_BASE(dev_priv)    ((dev_priv) ? 0U : 0U)
+#endif
 
 #define VLV_DISPLAY_BASE		0x180000
 
-- 
2.39.2



More information about the Intel-xe mailing list