From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 1/3] drm/i915: Ivybridge still has fences! Date: Sun, 23 Oct 2011 12:18:09 +0200 Message-ID: <20111023121809.2b36aaf6@jbarnes-x220> References: <1318189923-4609-1-git-send-email-daniel.vetter@ffwll.ch> <20111010105822.58114c0e@jbarnes-desktop> <20111023101200.GC2953@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy3-pub.bluehost.com (oproxy3-pub.bluehost.com [69.89.21.8]) by gabe.freedesktop.org (Postfix) with SMTP id ED1219E7CB for ; Sun, 23 Oct 2011 03:18:13 -0700 (PDT) In-Reply-To: <20111023101200.GC2953@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: Daniel Vetter Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org, stable@kernel.org List-Id: intel-gfx@lists.freedesktop.org On Sun, 23 Oct 2011 12:12:00 +0200 Daniel Vetter wrote: > On Mon, Oct 10, 2011 at 10:58:22AM -0700, Jesse Barnes wrote: > > On Sun, 9 Oct 2011 21:52:01 +0200 > > Daniel Vetter wrote: > > > > > So don't forget to restore them on resume and dump them into > > > the error state. > > > > This should probably just be >= 6 instead; I don't think we're > > getting rid of fences anytime soon. > > As discussed on irc >= 6 is a bit hard to do in a switch > statement ;-) Do you want me to resend the patches using the gcc > ranged switch extension suggested by Adam Jackson (i.e. 6..UINT_MAX)? > Or can you slap your r-b on them as-is? I was suggesting that you convert it to an if ladder with the >= 6 at the top. That should be a separate patch though. Jesse