summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2024-12-05 01:49:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-12-18 20:39:07 +0300
commitde844846f72b152119faaef1b363448dc8ea368f (patch)
tree0699f03c2804af77938070495c416e5110def3d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent34db5a32617d102e8042151bb87590e43c97132e (diff)
downloadlinux-de844846f72b152119faaef1b363448dc8ea368f.tar.xz
drm/amdkfd: Improve signal event slow path
If event slot is not signaled, kfd_signal_event_interrupt goes to slow path to scan all event slots to find the signaled event, this is needed for old ASICs that don't have the event ID or the event IDs are incorrect in the IH payload. There is case that GPU signal the same event twice, then driver process the first event interrupt, set_event and event slot is auto-reset, then for the second event interrupt, KFD goes to slow path as event is not signaled, just drop the second event interrupt because the application only need wakeup once. 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