[Mesa-dev] [PATCH] etnaviv: Make sure rs alignment checks match

Guido Günther agx at sigxcpu.org
Mon Nov 19 11:13:01 UTC 2018


Hi,
On Thu, Nov 15, 2018 at 04:40:16PM +0100, Lucas Stach wrote:
> Hi Guido,
> 
> Am Dienstag, den 09.10.2018, 13:50 +0200 schrieb Guido Günther:
> > Hi,
> > On Mon, Sep 17, 2018 at 04:06:57PM +0200, Guido Günther wrote:
> > > etna_resource_alloc and etna_resource_from_handle currently use different checks.
> > > This leads to
> > > 
> > >    etna_resource_from_handle:492: target=2, format=PIPE_FORMAT_B8G8R8X8_UNORM, 1080x1920x1, array_size=1, last_level=0, nr_samples=0, usage=0, bind=8000a, flags=0
> > >    etna_resource_from_handle:541: BO stride 4320 is too small for RS engine width padding (4352, format PIPE_FORMAT_B8G8R8X8_UNORM)
> > > 
> > > since etna_resource_from_handle wants to be aligned to a 16 byte
> > > boundary while the etna_resource_alloc does not.
> > > 
> > > Adjust the two checks by using a common function.
> > 
> > Ping?
> 
> Thanks, I've finally pushed this to Mesa master.

Thanks!
 -- Guido


More information about the etnaviv mailing list