Skip to contentSkip to conversation

amdgpu: Deinitialize vamgr_high{,_32}

PATCH In review Michel Dänzer 3 participants 4 messages Apr 27, 2018 – May 2, 2018 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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
index d81efcf8..983b19ab 100644
@@ -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

#2 lore raw
Quoted 15 lines · Michel Dänzer

From: Michel Dänzer <[email protected]>

Fixes memory leaks.

---
 amdgpu/amdgpu_device.c | 2 ++
 1 file changed, 2 insertions(+)
amdgpu/amdgpu_device.c +0 -0
index d81efcf8..983b19ab 100644

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

Reviewed-by
#4 lore raw

Andrey

Quoted 10 lines · Michel Dänzer
Quoted 9 lines · Michel Dänzer

From: Michel Dänzer <[email protected]>

Fixes memory leaks.

---
  amdgpu/amdgpu_device.c | 2 ++
  1 file changed, 2 insertions(+)
Quoted 17 lines
Quoted 6 lines
amdgpu/amdgpu_device.c +0 -0
index d81efcf8..983b19ab 100644

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.

_______________________________________________
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

Reviewed-by
#6 lore raw

Am 01.05.2018 um 13:20 schrieb Andrey Grodzovsky:

Quoted 37 lines

Andrey

Quoted 10 lines · Michel Dänzer
Quoted 9 lines · Michel Dänzer

From: Michel Dänzer<[email protected]>

Fixes memory leaks.

---
  amdgpu/amdgpu_device.c | 2 ++
  1 file changed, 2 insertions(+)
Quoted 17 lines
Quoted 6 lines
amdgpu/amdgpu_device.c +0 -0
index d81efcf8..983b19ab 100644

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.

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