etnaviv: fix etna_bo_from_name
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 21 Aug 2017 12:41:11 +0000 (14:41 +0200)
committerEric Engestrom <eric.engestrom@imgtec.com>
Mon, 21 Aug 2017 13:04:05 +0000 (14:04 +0100)
commit99d3f8253cff617af4662c48ba737bf6e10e146e
tree115fa320efcc2c37a2b4c78ad020dc4d35994421
parenta0531e76f68e5f69cdc149d7cbff4ba299352dfe
etnaviv: fix etna_bo_from_name

Look up BOs from the name table using the name parameter instead of
req.handle (which at this point is always zero).

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
etnaviv/etnaviv_bo.c