Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c63 int buffer_hash_table[1024]; member
306 for (int i = 0; i < ARRAY_SIZE(cs->buffer_hash_table); ++i) in radv_amdgpu_init_cs()
307 cs->buffer_hash_table[i] = -1; in radv_amdgpu_init_cs()
516 (ARRAY_SIZE(cs->buffer_hash_table) - 1); in radv_amdgpu_cs_reset()
517 cs->buffer_hash_table[hash] = -1; in radv_amdgpu_cs_reset()
553 unsigned hash = bo & (ARRAY_SIZE(cs->buffer_hash_table) - 1); in radv_amdgpu_cs_find_buffer()
554 int index = cs->buffer_hash_table[hash]; in radv_amdgpu_cs_find_buffer()
564 cs->buffer_hash_table[hash] = i; in radv_amdgpu_cs_find_buffer()
597 hash = bo & (ARRAY_SIZE(cs->buffer_hash_table) - 1); in radv_amdgpu_cs_add_buffer_internal()
598 cs->buffer_hash_table[hash] = cs->num_buffers; in radv_amdgpu_cs_add_buffer_internal()