Re: [Mesa-dev] [PATCH 10/11] etnaviv: implement resource creation with modifier

2017-06-28 Thread Wladimir J. van der Laan
On Fri, Jun 23, 2017 at 05:50:27PM +0200, Lucas Stach wrote: > This allows to create buffers with a specific tiling layout, which is > primarily > used by GBM to allocate the EGL back buffers with the correct tiling/modifier > for use with the scanout engines. > > Signed-off-by: Lucas Stach

Re: [Mesa-dev] [PATCH 10/11] etnaviv: implement resource creation with modifier

2017-06-26 Thread Emil Velikov
Hi Lucas, On 23 June 2017 at 16:50, Lucas Stach wrote: > +const uint64_t priority_to_modifier[] = { I think you can make this static. [snip] > res->texture = > -etna_resource_alloc(pctx->screen, ETNA_LAYOUT_TILED, ); > +

[Mesa-dev] [PATCH 10/11] etnaviv: implement resource creation with modifier

2017-06-23 Thread Lucas Stach
This allows to create buffers with a specific tiling layout, which is primarily used by GBM to allocate the EGL back buffers with the correct tiling/modifier for use with the scanout engines. Signed-off-by: Lucas Stach --- src/gallium/drivers/etnaviv/etnaviv_resource.c |