drm/amdgpu: always reserve two slots for the VM
authorChristian König <christian.koenig@amd.com>
Fri, 21 Sep 2018 16:09:59 +0000 (18:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Dec 2018 22:53:45 +0000 (17:53 -0500)
commit0aa7aa24cc11720a05b4492345f0adba8373c226
treef4ba93248ad15f996e960530b5f7a974c1c0e290
parent049aca4363d8af87cab8d53de5401602db3b9999
drm/amdgpu: always reserve two slots for the VM

And drop the now superflous extra reservations.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c