etnaviv: Use hash table to track BO indexes
authorMarek Vasut <marex@denx.de>
Mon, 3 Jun 2019 17:49:14 +0000 (19:49 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 14 Aug 2019 08:36:04 +0000 (10:36 +0200)
commitcf92074277f5d12a6812ead77c5a73419b4cbb83
tree75934b34241880298b3967e91bfbde494ef33d2b
parent23f5f126d5afc7224e0a67398acec7edb3c4941f
etnaviv: Use hash table to track BO indexes

Use hash table instead of ad-hoc arrays.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
src/etnaviv/drm/etnaviv_bo.c
src/etnaviv/drm/etnaviv_cmd_stream.c
src/etnaviv/drm/etnaviv_priv.h