amdgpu: Deinitialize vamgr_high{,_32}
PATCH 1/1 amdgpu: Deinitialize vamgr_high{,_32}
From: Michel Dänzer <[email protected]>
Fixes memory leaks.
--- amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+)
amdgpu/amdgpu_device.c +2 -0
@@ -128,6 +128,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev) {amdgpu_vamgr_deinit (&dev->vamgr_32);amdgpu_vamgr_deinit (&dev->vamgr); +amdgpu_vamgr_deinit (&dev->vamgr_high_32); +amdgpu_vamgr_deinit (&dev->vamgr_high);util_hash_table_destroy (dev->bo_flink_names);util_hash_table_destroy (dev->bo_handles);pthread_mutex_destroy (&dev->bo_table_mutex);
Signature · 6 lines
2.17.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180427144445.21127-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org
Quoted 15 lines · Michel Dänzer
From: Michel Dänzer <[email protected]>
Fixes memory leaks.
Signed-off-by Michel Dänzer <[email protected]>--- amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+)amdgpu/amdgpu_device.c +0
-0
amdgpu/amdgpu_device.c static void amdgpu_device_free_internal(amdgpu_device_handle dev) · line 135
Quoted 8 lines
amdgpu/amdgpu_device.c +2
-0@@ -128,6 +128,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev) {amdgpu_vamgr_deinit (&dev->vamgr_32);amdgpu_vamgr_deinit (&dev->vamgr); +amdgpu_vamgr_deinit (&dev->vamgr_high_32); +amdgpu_vamgr_deinit (&dev->vamgr_high);util_hash_table_destroy (dev->bo_flink_names);util_hash_table_destroy (dev->bo_handles);pthread_mutex_destroy (&dev->bo_table_mutex);
Any reviews? Without negative feedback, I'll push this tomorrow.
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): dc7c9c89-d301-cbd8-1d13-501ce0609b07-otUistvHUpPR7s880joybQ@public.gmane.org
Andrey Grodzovsky
Reviewed-byAndrey
Quoted 10 lines · Michel Dänzer
Quoted 9 lines · Michel Dänzer
From: Michel Dänzer <[email protected]>
Fixes memory leaks.
Signed-off-by Michel Dänzer <[email protected]>--- amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+)
Quoted 17 lines
Quoted 6 lines
amdgpu/amdgpu_device.c +0
-0amdgpu/amdgpu_device.c static void amdgpu_device_free_internal(amdgpu_device_handle dev) · line 135
Quoted 8 lines
amdgpu/amdgpu_device.c +2
-0@@ -128,6 +128,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev) {amdgpu_vamgr_deinit (&dev->vamgr_32);amdgpu_vamgr_deinit (&dev->vamgr); +amdgpu_vamgr_deinit (&dev->vamgr_high_32); +amdgpu_vamgr_deinit (&dev->vamgr_high);util_hash_table_destroy (dev->bo_flink_names);util_hash_table_destroy (dev->bo_handles);pthread_mutex_destroy (&dev->bo_table_mutex);Any reviews? Without negative feedback, I'll push this tomorrow.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): f07e3906-72f1-ee3e-b2e2-0f25c44e5fcc-5C7GfCeVMHo@public.gmane.org
Christian König
Reviewed-byAm 01.05.2018 um 13:20 schrieb Andrey Grodzovsky:
Quoted 37 lines
Reviewed-by Andrey Grodzovsky <[email protected]>Andrey
Quoted 10 lines · Michel Dänzer
Quoted 9 lines · Michel Dänzer
From: Michel Dänzer<[email protected]>
Fixes memory leaks.
Signed-off-by Michel Dänzer<[email protected]>--- amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+)Quoted 17 lines
Quoted 6 lines
amdgpu/amdgpu_device.c +0
-0amdgpu/amdgpu_device.c static void amdgpu_device_free_internal(amdgpu_device_handle dev) · line 135
Quoted 8 lines
amdgpu/amdgpu_device.c +2
-0@@ -128,6 +128,8 @@ static void amdgpu_device_free_internal(amdgpu_device_handle dev) {amdgpu_vamgr_deinit (&dev->vamgr_32);amdgpu_vamgr_deinit (&dev->vamgr); +amdgpu_vamgr_deinit (&dev->vamgr_high_32); +amdgpu_vamgr_deinit (&dev->vamgr_high);util_hash_table_destroy (dev->bo_flink_names);util_hash_table_destroy (dev->bo_handles);pthread_mutex_destroy (&dev->bo_table_mutex);Any reviews? Without negative feedback, I'll push this tomorrow.
Quoted 4 lines
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx