I've taken several patches from amdgpu-pro libdrm that look useful to me and I think can be applied already. The only things I did was rebasing, fixing some typos and dropping Change-Id. Alex Xie (3): amdgpu: Free/uninit vamgr_32 in theoretically correct order amdgpu: vamgr can be a struct instead of a pointer amdgpu: vamgr_32 can be a struct instead of a pointer amdgpu/amdgpu_device.c | 24 +++++++----------------- amdgpu/amdgpu_internal.h | 4 ++-- amdgpu/amdgpu_vamgr.c | 6 +++--- 3 files changed, 12 insertions(+), 22 deletions(-) -- 2.7.4