From: Jesse Barnes Date: Mon, 3 Mar 2014 22:27:57 +0000 (-0800) Subject: drm/i915/vlv: no MCHBAR on VLV X-Git-Tag: v4.14-rc1~7391^2~63^2~190 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11ea8b7d3e9b5d62217fbd12d66866172e187f9b;p=platform%2Fkernel%2Flinux-rpi.git drm/i915/vlv: no MCHBAR on VLV So don't try to allocate and program it, we're only fooling ourselves. Reported-by: "Chang, Junxiao" Signed-off-by: Jesse Barnes Reviewed-by: Junxiao Chang Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 9faee49..7b674bf 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -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)) {