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

Jani Nikula jani.nikula at intel.com
Wed Apr 19 12:39:46 UTC 2023


Add dummy mmio_offset member to reduce ifdefs in i915.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/xe/xe_device_types.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index a16909c79c8a..1cb404e48aaa 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -157,6 +157,9 @@ struct xe_device {
 			u8 num_sprites[I915_MAX_PIPES];
 			u8 num_scalers[I915_MAX_PIPES];
 			u32 rawclk_freq;
+
+			/* Unused by xe, but for compat */
+			u32 mmio_offset;
 		} display;
 #endif
 	} info;
-- 
2.39.2



More information about the Intel-xe mailing list