Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c315 if (ret && sws->kms_handles) { in amdgpu_winsys_unref()
318 hash_table_foreach(sws->kms_handles, entry) { in amdgpu_winsys_unref()
322 _mesa_hash_table_destroy(sws->kms_handles, NULL); in amdgpu_winsys_unref()
422 ws->kms_handles = _mesa_hash_table_create(NULL, kms_handle_hash, in amdgpu_winsys_create()
424 if (!ws->kms_handles) in amdgpu_winsys_create()
573 if (ws->kms_handles) in amdgpu_winsys_create()
574 _mesa_hash_table_destroy(ws->kms_handles, NULL); in amdgpu_winsys_create()
Damdgpu_winsys.h52 struct hash_table *kms_handles; member
Damdgpu_bo.c193 if (!sws_iter->kms_handles) in amdgpu_bo_destroy()
196 entry = _mesa_hash_table_search(sws_iter->kms_handles, bo); in amdgpu_bo_destroy()
201 _mesa_hash_table_remove(sws_iter->kms_handles, entry); in amdgpu_bo_destroy()
1650 entry = _mesa_hash_table_search(sws->kms_handles, bo); in amdgpu_bo_get_handle()
1678 _mesa_hash_table_insert_pre_hashed(sws->kms_handles, in amdgpu_bo_get_handle()