drm/i915/vlv: no MCHBAR on VLV
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 3 Mar 2014 22:27:57 +0000 (14:27 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Mar 2014 09:14:11 +0000 (10:14 +0100)
So don't try to allocate and program it, we're only fooling ourselves.

Reported-by: "Chang, Junxiao" <junxiao.chang@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Junxiao Chang <junxiao.chang@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c

index 9faee49f210d8184a97f47cf6ad2ad4036697ff7..7b674bfcb3380beffb3afb162e10fe1019e0e16f 100644 (file)
@@ -1187,6 +1187,9 @@ intel_setup_mchbar(struct drm_device *dev)
        u32 temp;
        bool enabled;
 
+       if (IS_VALLEYVIEW(dev))
+               return;
+
        dev_priv->mchbar_need_disable = false;
 
        if (IS_I915G(dev) || IS_I915GM(dev)) {