]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: disable gpu_sched load balancer for vcn jobs
authorNirmoy Das <nirmoy.das@amd.com>
Fri, 13 Mar 2020 14:26:54 +0000 (15:26 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Mar 2020 20:21:32 +0000 (16:21 -0400)
commit01884a254ae4414a3d979420fed54bdd83f5072b
tree4d08368438d1d08967dfbb5bb5d9329875364316
parent0b832f268f2335c2bbcbd524d91aadb8b1603375
drm/amdgpu: disable gpu_sched load balancer for vcn jobs

VCN HW doesn't support dynamic load balance on multiple instances
for a context. This patch initializes VNC entities with only one
drm_gpu_scheduler picked by drm_sched_pick_best(). Picking a
drm_gpu_scheduler using drm_sched_pick_best() ensures that we
do load balance among multiple contexts but not among multiple
jobs in a context.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c