From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH] drm/i915/vlv: no MCHBAR on VLV Date: Tue, 18 Mar 2014 11:13:12 -0700 Message-ID: <20140318111312.4ac10250@jbarnes-desktop> References: <1393885677-21762-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from gproxy4-pub.mail.unifiedlayer.com (gproxy4-pub.mail.unifiedlayer.com [69.89.23.142]) by gabe.freedesktop.org (Postfix) with SMTP id D50668E75E for ; Tue, 18 Mar 2014 11:12:31 -0700 (PDT) In-Reply-To: <1393885677-21762-1-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Jesse Barnes Cc: Junxiao Chang , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Junxiao, can you add you reviewed-by to this patch? Thanks, Jesse On Mon, 3 Mar 2014 14:27:57 -0800 Jesse Barnes wrote: > So don't try to allocate and program it, we're only fooling ourselves. > > Reported-by: "Chang, Junxiao" > Signed-off-by: Jesse Barnes > --- > drivers/gpu/drm/i915/i915_dma.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c > index 7688abc..22f839b 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)) { -- Jesse Barnes, Intel Open Source Technology Center