aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/freedreno/drm
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/winsys/freedreno/drm
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/winsys/freedreno/drm')
-rw-r--r--src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c b/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c
index c0da444785f..6bc4853f08a 100644
--- a/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c
+++ b/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c
@@ -52,7 +52,7 @@ fd_drm_screen_destroy(struct pipe_screen *pscreen)
destroy = --screen->refcnt == 0;
if (destroy) {
int fd = fd_device_fd(screen->dev);
- util_hash_table_remove(fd_tab, intptr_to_pointer(fd));
+ _mesa_hash_table_remove_key(fd_tab, intptr_to_pointer(fd));
}
mtx_unlock(&fd_screen_mutex);
@@ -86,7 +86,7 @@ fd_drm_screen_create(int fd, struct renderonly *ro)
if (pscreen) {
int fd = fd_device_fd(dev);
- util_hash_table_set(fd_tab, intptr_to_pointer(fd), pscreen);
+ _mesa_hash_table_insert(fd_tab, intptr_to_pointer(fd), pscreen);
/* Bit of a hack, to avoid circular linkage dependency,
* ie. pipe driver having to call in to winsys, we