From: Daniel Vetter Subject: Re: [RFC] xf86-video-intel: enable hw-generated binding tables Date: Thu, 24 Apr 2014 12:04:15 +0200 Message-ID: <20140424100415.GB26374@phenom.ffwll.local> References: <1398179796-5103-1-git-send-email-abdiel.janulgue@linux.intel.com> <1582585.gcFblXjc9p@abj-desktop> <20140424060634.GC31221@nuc-i3427.alporthouse.com> <7920834.6vm1cbEC2H@abj-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D5996E6D8 for ; Thu, 24 Apr 2014 03:04:19 -0700 (PDT) Received: by mail-ee0-f41.google.com with SMTP id t10so1669272eei.14 for ; Thu, 24 Apr 2014 03:04:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <7920834.6vm1cbEC2H@abj-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Abdiel Janulgue Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org On Thu, Apr 24, 2014 at 11:25:15AM +0300, Abdiel Janulgue wrote: > On Thursday, April 24, 2014 07:06:34 AM Chris Wilson wrote: > > On Thu, Apr 24, 2014 at 09:08:14AM +0300, Abdiel Janulgue wrote: > > > Anyway I haven't tried the work-around where we explictly only disable the > > > BT and RS on the other user-space clients (xorg driver in this case) when > > > Mesa is using RS instead of forcing the reset of the clients to use RS > > > format. I'll try that first and let you know if it works. > > I hate to break the bad news. Tried this just now - still get hangs :( > > So I guess, all userspace clients* does need to use RS-format if we use this > feature. GPGPU workloads seems to be special use-case where the RS hwbinding > table format can be disabled. Otherwise, I guess we are stuck with this > inflexibility. > > [1] > On the other hand, it doesn't seem all that bad though. The RS hw-binding > table format are only needed for clients that submit vertex and pixel shader > commands. I've identified currently just UXA and SNA that seem to use this > besides Mesa. OpenCL is not affected. libva? rendercopy in igt? This kind of abi break is really ugly :( -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch