projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3301d0
)
amdgpu: fix missing deinit on vamgr_32
author
monk.liu
<monk.liu@amd.com>
Mon, 31 Aug 2015 07:06:58 +0000
(15:06 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 2 Sep 2015 13:52:12 +0000
(09:52 -0400)
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: monk.liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
amdgpu/amdgpu_device.c
patch
|
blob
|
history
diff --git
a/amdgpu/amdgpu_device.c
b/amdgpu/amdgpu_device.c
index
75b12e2
..
e5a923e
100644
(file)
--- a/
amdgpu/amdgpu_device.c
+++ b/
amdgpu/amdgpu_device.c
@@
-132,6
+132,8
@@
static void amdgpu_device_free_internal(amdgpu_device_handle dev)
{
amdgpu_vamgr_deinit(dev->vamgr);
free(dev->vamgr);
+ amdgpu_vamgr_deinit(dev->vamgr_32);
+ free(dev->vamgr_32);
util_hash_table_destroy(dev->bo_flink_names);
util_hash_table_destroy(dev->bo_handles);
pthread_mutex_destroy(&dev->bo_table_mutex);