mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/amdgpu/kiq: add no_scheduler flag to KIQ
We don't want a GPU scheduler for this ring. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
cb3d108501
commit
a783910d5c
@ -318,6 +318,7 @@ int amdgpu_gfx_kiq_init_ring(struct amdgpu_device *adev,
|
|||||||
return r;
|
return r;
|
||||||
|
|
||||||
ring->eop_gpu_addr = kiq->eop_gpu_addr;
|
ring->eop_gpu_addr = kiq->eop_gpu_addr;
|
||||||
|
ring->no_scheduler = true;
|
||||||
sprintf(ring->name, "kiq_%d.%d.%d", ring->me, ring->pipe, ring->queue);
|
sprintf(ring->name, "kiq_%d.%d.%d", ring->me, ring->pipe, ring->queue);
|
||||||
r = amdgpu_ring_init(adev, ring, 1024,
|
r = amdgpu_ring_init(adev, ring, 1024,
|
||||||
irq, AMDGPU_CP_KIQ_IRQ_DRIVER0,
|
irq, AMDGPU_CP_KIQ_IRQ_DRIVER0,
|
||||||
|
Loading…
Reference in New Issue
Block a user