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)
commitea29221d1d6d9d474d4770812f675cc29cde6125
tree4e108731153be0ff8364c105756ad3010b5cc2ea
parent552b80d7409da11f344cdd0bced62e6d9375f3fb
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