drm/amdgpu: rework vm_grab_id interface
authorChristian König <christian.koenig@amd.com>
Mon, 20 Jul 2015 14:09:40 +0000 (16:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:16 +0000 (16:50 -0400)
commit7f8a5290f5b6c14dd1d295e2508e0dd193a9fda5
tree37e4c06727d2fedee6bf2db35f1f8c77ae2aba08
parentfc8fa5e428ae937f79a36ccbe303fa871ffbbbf7
drm/amdgpu: rework vm_grab_id interface

This makes assigning VM IDs independent from the use of VM IDs.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c