From: Daniel Vetter Subject: Re: [PATCH 9/9] drm/i915: Allow the user to set bo into the DISPLAY cache domain Date: Mon, 12 Aug 2013 18:53:28 +0200 Message-ID: <20130812165328.GW31670@phenom.ffwll.local> References: <1375969271-4331-1-git-send-email-chris@chris-wilson.co.uk> <1375969271-4331-9-git-send-email-chris@chris-wilson.co.uk> <20130810100926.GK31670@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f170.google.com (mail-ea0-f170.google.com [209.85.215.170]) by gabe.freedesktop.org (Postfix) with ESMTP id 69BF3E6E7B for ; Mon, 12 Aug 2013 09:53:22 -0700 (PDT) Received: by mail-ea0-f170.google.com with SMTP id h14so3533098eak.15 for ; Mon, 12 Aug 2013 09:53:21 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130810100926.GK31670@phenom.ffwll.local> 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: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sat, Aug 10, 2013 at 12:09:26PM +0200, Daniel Vetter wrote: > On Thu, Aug 08, 2013 at 02:41:11PM +0100, Chris Wilson wrote: > > This is primarily for the benefit of the create2 ioctl so that the > > caller can avoid the later step of rebinding the bo with new PTE bits. > > After introducing WT (and possibly GFDT) cacheing for display targets, > > not everything in the display is earmarked as UC, and more importantly > > what is is controlled by the kernel. > > > > Note that set_cache_level/get_cache_level for DISPLAY is not necessarily > > idempotent; get_cache_level may return UC for architectures that have no > > special cache domain for the display engine. > > > > Signed-off-by: Chris Wilson > > You know the drill: A bit of igt testcoverage would be neat, I think > simply adding the display domain everywhere we test uncached/snooped > already should be more than good enough. So I'll punt on this one here for > now, all other patches (with the exception of the hw context from stolen > one) are merged to dinq. Ok, merged this one and the previous one (which I've thought I've merged, but apparently didn't). Thanks for the patches and writing the igts. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch