Files
linux/drivers/gpu/drm/amd/amdgpu
Nirmoy Das d5f81cb875 drm/amdgpu: fix compute queue priority if num_kcq is less than 4
[ Upstream commit 3f66bf401e ]

Compute queues are configurable with module param, num_kcq.
amdgpu_gfx_is_high_priority_compute_queue was setting 1st 4 queues to
high priority queue leaving a null drm scheduler in
adev->gpu_sched[hw_ip]["normal_prio"].sched if num_kcq < 5.

This patch tries to fix it by alternating compute queue priority between
normal and high priority.

Fixes: 33abcb1f5a (drm/amdgpu: set compute queue priority at mqd_init)
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:09 +01:00
..
2019-09-16 09:59:21 -05:00
2015-06-03 21:03:15 -04:00
2019-06-20 11:36:22 -05:00
2020-08-14 16:22:39 -04:00
2020-07-01 01:59:24 -04:00
2017-10-20 13:28:44 -04:00
2019-06-10 23:00:01 +02:00
2015-06-03 21:03:15 -04:00
2020-10-30 01:17:43 -04:00
2020-05-22 13:41:53 -04:00
2020-07-02 12:02:50 -04:00
2020-07-01 01:59:24 -04:00
2020-08-14 16:22:39 -04:00
2020-11-24 12:30:37 -05:00
2020-07-01 01:59:24 -04:00
2020-09-22 17:37:38 -04:00
2020-09-22 17:37:38 -04:00
2020-09-22 17:37:38 -04:00
2020-09-22 17:37:38 -04:00
2020-09-22 17:37:38 -04:00
2020-09-22 17:37:38 -04:00
2020-07-02 12:02:50 -04:00