drm/amdgpu: add number of hardware submissions to amdgpu_fence_driver_init_ring
authorChristian König <christian.koenig@amd.com>
Tue, 15 Mar 2016 13:52:26 +0000 (14:52 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Mar 2016 21:59:12 +0000 (17:59 -0400)
commite6151a08bbb3c85cd0b23813432690939e143131
tree26f58e9030f2d31d635d27ce981ec835933c84d1
parent189e0fb763045aecc39c43100cd489c8756f3413
drm/amdgpu: add number of hardware submissions to amdgpu_fence_driver_init_ring

Make this a parameter instead of using the global variable directly.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c