aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-01-24 08:29:56 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-24 17:45:40 -0500
commitfba5d532d16db812dabaa80fb7570820daa2707b (patch)
treea4d0231ca1b7ca4367f98d192fa0139a56c441b8 /drivers/gpu
parentd811215004dbcc213e70eef94541aa10a2258aef (diff)
drm/i915: Set display_mmio_offset for VLV
This will cause display registers to include the correct offset on VLV. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 3ff8e73f4341..521a25376718 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -276,6 +276,7 @@ static const struct intel_device_info intel_valleyview_m_info = {
276 .has_bsd_ring = 1, 276 .has_bsd_ring = 1,
277 .has_blt_ring = 1, 277 .has_blt_ring = 1,
278 .is_valleyview = 1, 278 .is_valleyview = 1,
279 .display_mmio_offset = VLV_DISPLAY_BASE,
279}; 280};
280 281
281static const struct intel_device_info intel_valleyview_d_info = { 282static const struct intel_device_info intel_valleyview_d_info = {
@@ -285,6 +286,7 @@ static const struct intel_device_info intel_valleyview_d_info = {
285 .has_bsd_ring = 1, 286 .has_bsd_ring = 1,
286 .has_blt_ring = 1, 287 .has_blt_ring = 1,
287 .is_valleyview = 1, 288 .is_valleyview = 1,
289 .display_mmio_offset = VLV_DISPLAY_BASE,
288}; 290};
289 291
290static const struct intel_device_info intel_haswell_d_info = { 292static const struct intel_device_info intel_haswell_d_info = {