drm/amdgpu: set sched_hw_submission higher for KIQ (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Aug 2017 20:39:30 +0000 (16:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:44 +0000 (15:27 -0400)
commitb249e18df151c9627af808321a8090c0b8d4d834
treee1c9147f0bcc76a27db177edf650d260d93c34bc
parentc3db7b5a5591ede54fad5a4f5ea45f298e5d3470
drm/amdgpu: set sched_hw_submission higher for KIQ (v3)

KIQ doesn't really use the GPU scheduler.  The base
drivers generally use the KIQ ring directly rather than
submitting IBs.  However, amdgpu_sched_hw_submission
(which defaults to 2) limits the number of outstanding
fences to 2.  KFD uses the KIQ for TLB flushes and the
2 fence limit hurts performance when there are several KFD
processes running.

v2: move some expressions to one line
    change KIQ sched_hw_submission to at least 16
v3: bump to 256

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c