Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c296 if (ret && sws->kms_handles) { in amdgpu_winsys_unref()
299 hash_table_foreach(sws->kms_handles, entry) { in amdgpu_winsys_unref()
303 _mesa_hash_table_destroy(sws->kms_handles, NULL); in amdgpu_winsys_unref()
403 ws->kms_handles = _mesa_hash_table_create(NULL, kms_handle_hash, in amdgpu_winsys_create()
405 if (!ws->kms_handles) in amdgpu_winsys_create()
544 if (ws->kms_handles) in amdgpu_winsys_create()
545 _mesa_hash_table_destroy(ws->kms_handles, NULL); in amdgpu_winsys_create()
Damdgpu_winsys.h116 struct hash_table *kms_handles; member
Damdgpu_bo.c191 if (!sws_iter->kms_handles) in amdgpu_bo_destroy()
194 entry = _mesa_hash_table_search(sws_iter->kms_handles, bo); in amdgpu_bo_destroy()
199 _mesa_hash_table_remove(sws_iter->kms_handles, entry); in amdgpu_bo_destroy()
1552 entry = _mesa_hash_table_search(sws->kms_handles, bo); in amdgpu_bo_get_handle()
1580 _mesa_hash_table_insert_pre_hashed(sws->kms_handles, in amdgpu_bo_get_handle()