diff options
| author | Nirmoy Das <[email protected]> | 2020-11-09 16:04:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-13 05:13:59 +0000 |
| commit | 3f66bf401e9fde1c35bb8b02dd7975659c40411d (patch) | |
| tree | 2e871786e9e2353dbf99d47d9108151fd13577c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
| parent | drm/amd/amdgpu: Update VCN initizalization behvaior (diff) | |
| download | kernel-3f66bf401e9fde1c35bb8b02dd7975659c40411d.tar.gz kernel-3f66bf401e9fde1c35bb8b02dd7975659c40411d.zip | |
drm/amdgpu: fix compute queue priority if num_kcq is less than 4
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: 33abcb1f5a1719b1c (drm/amdgpu: set compute queue priority at mqd_init)
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions
