etnaviv: fill in modifier in etna_resource_get_handle
authorLucas Stach <l.stach@pengutronix.de>
Thu, 22 Jun 2017 11:56:24 +0000 (13:56 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jul 2017 14:26:50 +0000 (16:26 +0200)
commitd06cfaf4fc21d45d09045af9ea2a248ef3968767
treeec178a947610f7a587a582c8094690764f1973bc
parenteebf6ee6e9eacce014b855c0e067ce1f1b9ff4d6
etnaviv: fill in modifier in etna_resource_get_handle

This allows the state trackers to know the tiling layout of the
resource and pass this through the various userspace protocols.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gallium/drivers/etnaviv/etnaviv_resource.c