From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 3/3] drm/i915: disable wc gtt pte mappings on gen2 Date: Thu, 11 Oct 2012 10:37:54 +0200 Message-ID: <20121011083754.GA5799@phenom.ffwll.local> References: <1349903641-18378-1-git-send-email-daniel.vetter@ffwll.ch> <1349903641-18378-3-git-send-email-daniel.vetter@ffwll.ch> <453bf0$61is0t@azsmga001.ch.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id BD8049E85A for ; Thu, 11 Oct 2012 01:37:00 -0700 (PDT) Received: by mail-wg0-f43.google.com with SMTP id dq11so1027209wgb.12 for ; Thu, 11 Oct 2012 01:36:59 -0700 (PDT) Content-Disposition: inline In-Reply-To: <453bf0$61is0t@azsmga001.ch.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Wed, Oct 10, 2012 at 11:37:36PM +0100, Chris Wilson wrote: > On Wed, 10 Oct 2012 23:14:01 +0200, Daniel Vetter wrote: > > It doesn't work since the gtt pte range sits in the middle of the mmio > > bar. We didn't notice that since both my and Chris' gen2 machines > > don't support PAT and hence all wc io mapping request will > > automatically be demoted to uc. > > > > This regression has been introduce in > > > > commit edef7e685da05c13cce50c0126189c80fe2c8f71 > > Author: Chris Wilson > > Date: Fri Sep 14 11:57:47 2012 +0100 > > > > agp/intel: Use a write-combining map for updating PTEs > > > > Reported-by: Egbert Eich > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55834 > > Signed-off-by: Daniel Vetter > > Thanks for the explanation, > Acked-by: Chris Wilson Patch merged to -fixes. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch