From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH] drm/i915: Make contexts non-snooped on non-LLC platforms Date: Tue, 1 Apr 2014 13:37:54 +0300 Message-ID: <20140401103754.GC21652@intel.com> References: <1396278589-27882-1-git-send-email-ville.syrjala@linux.intel.com> <20140331153937.GA7314@nuc-i3427.alporthouse.com> <20140401101102.GA21652@intel.com> <20140401101919.GJ7314@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id AFFAC6E612 for ; Tue, 1 Apr 2014 03:39:03 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140401101919.GJ7314@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Apr 01, 2014 at 11:19:19AM +0100, Chris Wilson wrote: > On Tue, Apr 01, 2014 at 01:11:02PM +0300, Ville Syrj=E4l=E4 wrote: > > On Mon, Mar 31, 2014 at 04:39:37PM +0100, Chris Wilson wrote: > > > On Mon, Mar 31, 2014 at 06:09:49PM +0300, ville.syrjala@linux.intel.c= om wrote: > > > > From: Ville Syrj=E4l=E4 > > > > = > > > > We don't do CPU access to GPU contexts so making the GPU access sno= op > > > > the CPU caches seems silly, and potentially expensive. > > > > = > > > > Signed-off-by: Ville Syrj=E4l=E4 > > > = > > > Maybe define a macro to be HAS_L3_CACHE? > > = > > What should I do with such a macro? > = > I am trying to express what exactly we are testing for here. It is not > exactly LLC we care about, but L3 to hide the context switch latency. > Even though Ben thinks that's a waste of our limited resources. VLV has L3 too, but we can't control it via the PTEs. -- = Ville Syrj=E4l=E4 Intel OTC