Each device can have its own vamgr, so make it per device now. This can fix the failure with multiple GPUs used in one single process.
v2: rebase
56d8dd6 amdgpu: make vamgr per device v2
amdgpu/amdgpu_device.c | 13 +++++++++++--
amdgpu/amdgpu_internal.h | 8 --------
amdgpu/amdgpu_vamgr.c | 26 +-------------------------
3 files changed, 12 insertions(+), 35 deletions(-)
Upstream: cgit.freedesktop.org