Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-04 Thread Pohjolainen, Topi
On Mon, Dec 04, 2017 at 09:01:44AM +, Rogovin, Kevin wrote: > Hi, > > > 1) do extra tex cache flush when needed and specifically only when needed > > 2) resolve surfaces when undesired combination is about to be sampled > > >Latter case could be addressed also with on-the-fly check in >

Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-04 Thread Rogovin, Kevin
Hi, > 1) do extra tex cache flush when needed and specifically only when needed > 2) resolve surfaces when undesired combination is about to be sampled >Latter case could be addressed also with on-the-fly check in >brw_predraw_resolve_inputs(). There one goes thru all the active textures for

Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-02 Thread Pohjolainen, Topi
On Fri, Dec 01, 2017 at 07:19:17PM +0200, kevin.rogo...@intel.com wrote: > From: Kevin Rogovin > > This patch series implements a needed workaround for Gen9 for ASTC5x5 > sampler reads. The crux of the work around is to make sure that the > sampler does not read an

Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-01 Thread Rogovin, Kevin
Message- From: Matt Turner [mailto:matts...@gmail.com] Sent: Friday, December 1, 2017 8:25 PM To: Rogovin, Kevin <kevin.rogo...@intel.com> Cc: Ilia Mirkin <imir...@alum.mit.edu>; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround On Fri, Dec 1, 2

Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-01 Thread Matt Turner
On Fri, Dec 1, 2017 at 10:06 AM, Rogovin, Kevin wrote: > Hi, > > Yes ANV will need something like this as well. If the GPU samples from both > an ASTC5x5 texture and one with an aux buffer without a texture cache > invalidate between such accesses, then the GPU hangs,

Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-01 Thread Rogovin, Kevin
, 2017 7:38 PM To: Rogovin, Kevin <kevin.rogo...@intel.com> Cc: mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround On Fri, Dec 1, 2017 at 12:19 PM, <kevin.rogo...@intel.com> wrote: > From: Kevin Rogovin <kevin.rogo...@intel.com>

Re: [Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-01 Thread Ilia Mirkin
On Fri, Dec 1, 2017 at 12:19 PM, wrote: > From: Kevin Rogovin > > This patch series implements a needed workaround for Gen9 for ASTC5x5 > sampler reads. The crux of the work around is to make sure that the > sampler does not read an ASTC5x5

[Mesa-dev] [PATCH 0/5] i965: ASTC5x5 workaround

2017-12-01 Thread kevin . rogovin
From: Kevin Rogovin This patch series implements a needed workaround for Gen9 for ASTC5x5 sampler reads. The crux of the work around is to make sure that the sampler does not read an ASTC5x5 texture and a surface with an auxilary buffer without having a texture cache