From: Alex Xie
vamgr_32 is an integral part of amdgpu_device. We don't need to calloc and free
it.
This can save CPU time, reduce heap fragmentation.
Signed-off-by: Alex Xie
Reviewed-by: Christian König
[Grazvydas Ignotas: rebase, correct a typo in commit message]
---
amdgpu/amdgpu_device.c
From: Alex Xie
vamgr_32 is an integral part of amdgpu_device. We don't need to calloc and free
it.
This can save CPU time, reduce heap fragmentation.
Signed-off-by: Alex Xie
Reviewed-by: Christian König
[Grazvydas Ignotas: rebase, correct a typo in commit message]
---
amdgpu/amdgpu_device.c