Home
last modified time | relevance | path

Searched refs:dev_tab (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c46 static struct hash_table *dev_tab = NULL; variable
175 if (destroy && dev_tab) { in amdgpu_winsys_destroy_locked()
176 _mesa_hash_table_remove_key(dev_tab, ws->dev); in amdgpu_winsys_destroy_locked()
177 if (_mesa_hash_table_num_entries(dev_tab) == 0) { in amdgpu_winsys_destroy_locked()
178 _mesa_hash_table_destroy(dev_tab, NULL); in amdgpu_winsys_destroy_locked()
179 dev_tab = NULL; in amdgpu_winsys_destroy_locked()
385 if (!dev_tab) in amdgpu_winsys_create()
386 dev_tab = util_hash_table_create_ptr_keys(); in amdgpu_winsys_create()
397 aws = util_hash_table_get(dev_tab, dev); in amdgpu_winsys_create()
512 _mesa_hash_table_insert(dev_tab, dev, aws); in amdgpu_winsys_create()