]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: do not set nil entry in compute_prio_sched
authorNirmoy Das <nirmoy.das@amd.com>
Tue, 10 Mar 2020 12:15:56 +0000 (13:15 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Mar 2020 19:54:07 +0000 (15:54 -0400)
commit802ee857f0a6906bfc76e9efe3126c4ce59215cc
tree4e108731153be0ff8364c105756ad3010b5cc2ea
parent9c8df3707d66b1d23b0f7476bd8ca88735a6ee53
drm/amdgpu: do not set nil entry in compute_prio_sched

If there are no high priority compute queues available then set normal
priority sched array to compute_prio_sched[AMDGPU_GFX_PIPE_PRIO_HIGH]

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