etnaviv: implement resource creation with modifier
authorLucas Stach <l.stach@pengutronix.de>
Thu, 22 Jun 2017 13:14:31 +0000 (15:14 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jul 2017 14:26:50 +0000 (16:26 +0200)
commit58c3ce071c28b2d132cb15e309b3168953d957bd
tree3e17f70ae68082b36a2b1703f4753a7ba9813bf6
parentd06cfaf4fc21d45d09045af9ea2a248ef3968767
etnaviv: implement resource creation with modifier

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 <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gallium/drivers/etnaviv/etnaviv_resource.c
src/gallium/drivers/etnaviv/etnaviv_resource.h
src/gallium/drivers/etnaviv/etnaviv_texture.c
src/gallium/drivers/etnaviv/etnaviv_transfer.c