drm/i915: Add display_display_mmio_offset to intel_device_info
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Jan 2013 13:29:28 +0000 (15:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Jan 2013 21:26:42 +0000 (22:26 +0100)
Add an optional offset to intel_device_info, which will added
to most display register offsets.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h

index 56ece50910a87a544f0c5be05ce29e50a58524ef..09753e56b6d09a6286c2ce6a8e3a699f246932cb 100644 (file)
@@ -337,6 +337,7 @@ struct drm_i915_gt_funcs {
        DEV_INFO_FLAG(has_llc)
 
 struct intel_device_info {
+       u32 display_mmio_offset;
        u8 gen;
        u8 is_mobile:1;
        u8 is_i85x:1;