drm/i915: Set display_mmio_offset for VLV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Jan 2013 13:29:56 +0000 (15:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Jan 2013 22:45:40 +0000 (23:45 +0100)
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>
drivers/gpu/drm/i915/i915_drv.c

index 3ff8e73f4341cdce13adc679d1aef3b5f2f20148..521a253767180484dbc6c5e72c643216ec33e8a8 100644 (file)
@@ -276,6 +276,7 @@ static const struct intel_device_info intel_valleyview_m_info = {
        .has_bsd_ring = 1,
        .has_blt_ring = 1,
        .is_valleyview = 1,
+       .display_mmio_offset = VLV_DISPLAY_BASE,
 };
 
 static const struct intel_device_info intel_valleyview_d_info = {
@@ -285,6 +286,7 @@ static const struct intel_device_info intel_valleyview_d_info = {
        .has_bsd_ring = 1,
        .has_blt_ring = 1,
        .is_valleyview = 1,
+       .display_mmio_offset = VLV_DISPLAY_BASE,
 };
 
 static const struct intel_device_info intel_haswell_d_info = {