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>
Thu, 24 Aug 2017 15:48:45 +0000 (11:48 -0400)
commiteab2c600fcc8f687f22bd2f2fa2b92ad9a043809
tree3acce753dc589ee429ac52ae8069ba7878e6dead
parentfaf505672600332369ec08044f1ec9eec73a5ab3
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