i965/drm: Switch from uthash to Mesa's hash table.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Mar 2017 00:29:39 +0000 (17:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:31:45 +0000 (14:31 -0700)
commit2662894baa99d03003f4d676966e27fb240d7fb6
treefb823c635c42cdeaf2a53dd04951129418351ba2
parentad1b1cce44a04f68b9e294119e3dd92d996d1ffb
i965/drm: Switch from uthash to Mesa's hash table.

No performance data has been gathered about this choice.  I just don't
want that many hash tables.  Chris points out that this is not
performance critical - we should not be recreating that many handles
from scratch.  In the past we used a linear list, which became
unreasonable in stress tests that used hundreds of thousands of BOs.
In real usage, it shouldn't matter that much.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
src/mesa/drivers/dri/i965/uthash.h [deleted file]