etnaviv: keep track of mapped bo address
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 28 Feb 2019 06:26:38 +0000 (07:26 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 1 Mar 2019 07:02:17 +0000 (08:02 +0100)
commitd8177f623314a025911cc125783c9d63a0cc803e
treeb166c604ae4ff34964d83b26b22f1ae71dcb24f6
parent5bb4e6956dcd8e0a6916207cc02af3fe5f631e44
etnaviv: keep track of mapped bo address

Saves us from calling etna_bo_map(..) and saves us from doing the
same offset calcs for map() and unmap() operations.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
src/gallium/drivers/etnaviv/etnaviv_context.h
src/gallium/drivers/etnaviv/etnaviv_transfer.c