All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libdrm] amdgpu: Deinitialize vamgr_high{,_32}
@ 2018-04-27 14:44 Michel Dänzer
       [not found] ` <20180427144445.21127-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Michel Dänzer @ 2018-04-27 14:44 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

From: Michel Dänzer <michel.daenzer@amd.com>

Fixes memory leaks.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
---
 amdgpu/amdgpu_device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
index d81efcf8..983b19ab 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_device.c
@@ -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);
-- 
2.17.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH libdrm] amdgpu: Deinitialize vamgr_high{,_32}
       [not found] ` <20180427144445.21127-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
@ 2018-05-01  8:03   ` Michel Dänzer
       [not found]     ` <dc7c9c89-d301-cbd8-1d13-501ce0609b07-otUistvHUpPR7s880joybQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Michel Dänzer @ 2018-05-01  8:03 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On 2018-04-27 04:44 PM, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer@amd.com>
> 
> Fixes memory leaks.
> 
> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
> ---
>  amdgpu/amdgpu_device.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
> index d81efcf8..983b19ab 100644
> --- a/amdgpu/amdgpu_device.c
> +++ b/amdgpu/amdgpu_device.c
> @@ -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.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH libdrm] amdgpu: Deinitialize vamgr_high{,_32}
       [not found]     ` <dc7c9c89-d301-cbd8-1d13-501ce0609b07-otUistvHUpPR7s880joybQ@public.gmane.org>
@ 2018-05-01 11:20       ` Andrey Grodzovsky
       [not found]         ` <f07e3906-72f1-ee3e-b2e2-0f25c44e5fcc-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Grodzovsky @ 2018-05-01 11:20 UTC (permalink / raw)
  To: Michel Dänzer, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1103 bytes --]

Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky-5C7GfCeVMHo@public.gmane.org>

Andrey


On 05/01/2018 04:03 AM, Michel Dänzer wrote:
> On 2018-04-27 04:44 PM, Michel Dänzer wrote:
>> From: Michel Dänzer <michel.daenzer-5C7GfCeVMHo@public.gmane.org>
>>
>> Fixes memory leaks.
>>
>> Signed-off-by: Michel Dänzer <michel.daenzer-5C7GfCeVMHo@public.gmane.org>
>> ---
>>   amdgpu/amdgpu_device.c | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
>> index d81efcf8..983b19ab 100644
>> --- a/amdgpu/amdgpu_device.c
>> +++ b/amdgpu/amdgpu_device.c
>> @@ -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.
>
>


[-- Attachment #1.2: Type: text/html, Size: 1922 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH libdrm] amdgpu: Deinitialize vamgr_high{,_32}
       [not found]         ` <f07e3906-72f1-ee3e-b2e2-0f25c44e5fcc-5C7GfCeVMHo@public.gmane.org>
@ 2018-05-02 14:33           ` Christian König
  0 siblings, 0 replies; 4+ messages in thread
From: Christian König @ 2018-05-02 14:33 UTC (permalink / raw)
  To: Andrey Grodzovsky, Michel Dänzer,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1464 bytes --]

Reviewed-by: Christian König <christian.koenig-5C7GfCeVMHo@public.gmane.org>

Am 01.05.2018 um 13:20 schrieb Andrey Grodzovsky:
>
> Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky-5C7GfCeVMHo@public.gmane.org>
>
> Andrey
>
>
> On 05/01/2018 04:03 AM, Michel Dänzer wrote:
>> On 2018-04-27 04:44 PM, Michel Dänzer wrote:
>>> From: Michel Dänzer<michel.daenzer-5C7GfCeVMHo@public.gmane.org>
>>>
>>> Fixes memory leaks.
>>>
>>> Signed-off-by: Michel Dänzer<michel.daenzer-5C7GfCeVMHo@public.gmane.org>
>>> ---
>>>   amdgpu/amdgpu_device.c | 2 ++
>>>   1 file changed, 2 insertions(+)
>>>
>>> diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
>>> index d81efcf8..983b19ab 100644
>>> --- a/amdgpu/amdgpu_device.c
>>> +++ b/amdgpu/amdgpu_device.c
>>> @@ -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
> amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[-- Attachment #1.2: Type: text/html, Size: 3049 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-02 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-27 14:44 [PATCH libdrm] amdgpu: Deinitialize vamgr_high{,_32} Michel Dänzer
     [not found] ` <20180427144445.21127-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-05-01  8:03   ` Michel Dänzer
     [not found]     ` <dc7c9c89-d301-cbd8-1d13-501ce0609b07-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-05-01 11:20       ` Andrey Grodzovsky
     [not found]         ` <f07e3906-72f1-ee3e-b2e2-0f25c44e5fcc-5C7GfCeVMHo@public.gmane.org>
2018-05-02 14:33           ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.