aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/v3d/v3d_bufmgr.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-02-05 14:52:38 -0500
committerMarge Bot <[email protected]>2020-02-26 20:35:50 +0000
commitf6d1dd34d76c1930b6f5223ae7e1c6b7f52ec4cd (patch)
treeb83dac41c23afe083a8ffff554b1eb90528e7d15 /src/gallium/drivers/v3d/v3d_bufmgr.c
parent502840855acac744fbc8dd090d931adc07755ead (diff)
gallium/hash_table: remove some function wrappers
Reviewed-by: Kristian H. Kristensen <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3722> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3722>
Diffstat (limited to 'src/gallium/drivers/v3d/v3d_bufmgr.c')
-rw-r--r--src/gallium/drivers/v3d/v3d_bufmgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/v3d/v3d_bufmgr.c b/src/gallium/drivers/v3d/v3d_bufmgr.c
index b3e4d053cc0..50e4081dafd 100644
--- a/src/gallium/drivers/v3d/v3d_bufmgr.c
+++ b/src/gallium/drivers/v3d/v3d_bufmgr.c
@@ -372,7 +372,7 @@ v3d_bo_open_handle(struct v3d_screen *screen,
bo->offset = get.offset;
assert(bo->offset != 0);
- util_hash_table_set(screen->bo_handles, (void *)(uintptr_t)handle, bo);
+ _mesa_hash_table_insert(screen->bo_handles, (void *)(uintptr_t)handle, bo);
screen->bo_count++;
screen->bo_size += bo->size;
@@ -433,7 +433,7 @@ v3d_bo_get_dmabuf(struct v3d_bo *bo)
mtx_lock(&bo->screen->bo_handles_mutex);
bo->private = false;
- util_hash_table_set(bo->screen->bo_handles, (void *)(uintptr_t)bo->handle, bo);
+ _mesa_hash_table_insert(bo->screen->bo_handles, (void *)(uintptr_t)bo->handle, bo);
mtx_unlock(&bo->screen->bo_handles_mutex);
return fd;