summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-01-24 15:29:28 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-24 22:26:42 +0100
commit10fce67a971775cfa906eb176e2772938c2aaaf3 (patch)
treed6daf37c08ca0eec794ab4830fa3bdcf6c8d1c30 /drivers
parent34f2be46c4a4db47aafa1c9e79320723dda7b5e4 (diff)
drm/i915: Add display_display_mmio_offset to intel_device_info
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 56ece50910a8..09753e56b6d0 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -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;