From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: invalidate render cache on gen2 Date: Thu, 19 Apr 2012 17:13:03 +0200 Message-ID: <20120419151303.GG4256@phenom.ffwll.local> References: <1334846722-1161-1-git-send-email-daniel.vetter@ffwll.ch> <1334846886_26427@CP5-2952> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 87FB5A0D89 for ; Thu, 19 Apr 2012 08:12:05 -0700 (PDT) Received: by eekb45 with SMTP id b45so2285844eek.36 for ; Thu, 19 Apr 2012 08:12:04 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1334846886_26427@CP5-2952> 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 Thu, Apr 19, 2012 at 03:47:44PM +0100, Chris Wilson wrote: > On Thu, 19 Apr 2012 16:45:22 +0200, Daniel Vetter wrote: > > It looks like we also need to flush the render cache when we just > > invalidate it. This fixes a regression in i-g-t/gem_tiled_blits on my > > i855gm. I guess the render cache there is virtually indexed, so we > > need to clean it when changing gtt mappings. > > > > This regression has been introduce in > > > > commit 46f0f8d120c4afae53a5670bf3ac80a928340ff3 > > Author: Chris Wilson > > Date: Wed Apr 18 11:12:11 2012 +0100 > > > > drm/i915: Don't set a MBZ bit in gen2/3 MI_FLUSH > > > > Cc: Chris Wilson > > Signed-Off-by: Daniel Vetter > > My fault, with hindsight comes wisdom, > Reviewed-by: Chris Wilson Queued for -next, thanks for the review. I think I'll keep dinq at this and push out a new -testing for QA today or tomorrow. Furious patch mergin will commence again next week. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48