[Intel-xe] [PATCH 9/9] fixup! drm/i915/display: Remaining changes to make xe compile
Jani Nikula
jani.nikula at intel.com
Wed Apr 19 12:39:47 UTC 2023
Use the dummy mmio_offset member instead to avoid ifdef.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
drivers/gpu/drm/i915/display/intel_display_reg_defs.h | 4 ----
1 file changed, 4 deletions(-)
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 d6079e08ea82..755c1ea8225c 100644
--- a/drivers/gpu/drm/i915/display/intel_display_reg_defs.h
+++ b/drivers/gpu/drm/i915/display/intel_display_reg_defs.h
@@ -8,11 +8,7 @@
#include "i915_reg_defs.h"
-#ifdef I915
#define DISPLAY_MMIO_BASE(dev_priv) (INTEL_INFO(dev_priv)->display.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