diff options
author | Dominik Grzegorzek <dominik.grzegorzek@intel.com> | 2020-10-23 09:30:07 +0200 |
---|---|---|
committer | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2021-04-13 15:44:29 +0200 |
commit | 32313d52152e78f7e66fe89e9a7aaa0d70727887 (patch) | |
tree | 0f6c3fe7a0181e3134f475a1f38144e15a200fbb /benchmarks/gem_syslatency.c | |
parent | 947b6f864852fad2b09dc7f7a81b9927215c8f0f (diff) |
lib/igt_map: Adopt Mesa hash table
The _search function has been changed to return a pointer to
the stored data instead of the entry struct. The _search_entry function,
which acts as the original search has been added. Additionally _remove function
has an optional delete_function param, to make it more usable.
For more information, see:
http://cgit.freedesktop.org/~anholt/hash_table/tree/README
Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'benchmarks/gem_syslatency.c')
0 files changed, 0 insertions, 0 deletions