etnaviv: fill missing offset in etna_resource_get_handle
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 3 May 2019 09:39:45 +0000 (11:39 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 22 May 2019 10:57:40 +0000 (12:57 +0200)
commit1ccb8a071b5793852cf4e7a44ae31ba1eee07a19
treeb6ef669d036ed14743dca0e0762feb68260e6585
parent32a0bc915a8d2ef2b94a3fd14296206046d01bba
etnaviv: fill missing offset in etna_resource_get_handle

Without this gbm_bo_get_offset() can return 0 where it shouldn't.

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/etnaviv/etnaviv_resource.c