aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-03-15 09:52:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-03-16 17:59:12 -0400
commite6151a08bbb3c85cd0b23813432690939e143131 (patch)
tree26f58e9030f2d31d635d27ce981ec835933c84d1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent189e0fb763045aecc39c43100cd489c8756f3413 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 7dee9af33196..26b137801aea 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -413,7 +413,8 @@ int amdgpu_fence_driver_init(struct amdgpu_device *adev);
413void amdgpu_fence_driver_fini(struct amdgpu_device *adev); 413void amdgpu_fence_driver_fini(struct amdgpu_device *adev);
414void amdgpu_fence_driver_force_completion(struct amdgpu_device *adev); 414void amdgpu_fence_driver_force_completion(struct amdgpu_device *adev);
415 415
416int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring); 416int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring,
417 unsigned num_hw_submission);
417int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring, 418int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring,
418 struct amdgpu_irq_src *irq_src, 419 struct amdgpu_irq_src *irq_src,
419 unsigned irq_type); 420 unsigned irq_type);