drm/amdgpu: always reserve one more shared slot for pipelined BO moves
authorChristian König <christian.koenig@amd.com>
Mon, 24 Sep 2018 11:35:08 +0000 (13:35 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Dec 2018 22:53:45 +0000 (17:53 -0500)
commit07daa8a0784e3085c4c8e282a83dd8c92bf59b53
treedad4730134b55316d951aec74c199fa9d952e58d
parent0aa7aa24cc11720a05b4492345f0adba8373c226
drm/amdgpu: always reserve one more shared slot for pipelined BO moves

This allows us to drop the extra reserve in TTM.

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