[PATCH libdrm] amdgpu: Deinitialize vamgr_high{,_32}

Christian König ckoenig.leichtzumerken at gmail.com
Wed May 2 14:33:20 UTC 2018


Reviewed-by: Christian König <christian.koenig at amd.com>

Am 01.05.2018 um 13:20 schrieb Andrey Grodzovsky:
>
> Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
>
> 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 at amd.com>
>>>
>>> Fixes memory leaks.
>>>
>>> Signed-off-by: Michel Dänzer<michel.daenzer at 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.
>>
>>
>
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180502/46698e72/attachment.html>


More information about the amd-gfx mailing list