summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2024-11-26 19:33:15 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-12-18 20:39:07 +0300
commit34db5a32617d102e8042151bb87590e43c97132e (patch)
treec6e752e4208514bb16a697901bf6daf735d56afd /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent1b00143231d3e6f4b76f88f4edd6bb8a1332ef9b (diff)
downloadlinux-34db5a32617d102e8042151bb87590e43c97132e.tar.xz
drm/amdkfd: Queue interrupt work to different CPU
For CPX mode, each KFD node has interrupt worker to process ih_fifo to send events to user space. Currently all interrupt workers of same adev queue to same CPU, all workers execution are actually serialized and this cause KFD ih_fifo overflow when CPU usage is high. Use per-GPU unbounded highpri queue with number of workers equals to number of partitions, let queue_work select the next CPU round robin among the local CPUs of same NUMA. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions