aboutsummaryrefslogtreecommitdiffstats
path: root/amdgpu/amdgpu_internal.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-08-02 10:56:11 +0200
committerChristian König <christian.koenig@amd.com>2018-08-07 13:27:28 +0200
commit9a38e850a543a3ea9c1315f501cd4484baed079d (patch)
treea628d847c1d635d34b6e8bf9452f5cfffde8c6b7 /amdgpu/amdgpu_internal.h
parentbde850bc32293702ff0bdd7b0acb5164c385785e (diff)
downloadexternal_libdrm-9a38e850a543a3ea9c1315f501cd4484baed079d.tar.gz
external_libdrm-9a38e850a543a3ea9c1315f501cd4484baed079d.tar.bz2
external_libdrm-9a38e850a543a3ea9c1315f501cd4484baed079d.zip
amdgpu: use handle table for flink names
Instead of the hash use the handle table. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-and-Tested-by: Junwei Zhang <Jerry.Zhang@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index 36ebc738..a340abbd 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -76,7 +76,7 @@ struct amdgpu_device {
/** List of buffer handles. Protected by bo_table_mutex. */
struct handle_table bo_handles;
/** List of buffer GEM flink names. Protected by bo_table_mutex. */
- struct util_hash_table *bo_flink_names;
+ struct handle_table bo_flink_names;
/** This protects all hash tables. */
pthread_mutex_t bo_table_mutex;
struct drm_amdgpu_info_device dev_info;