summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2022-04-08 01:53:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-26 00:05:48 +0300
commitc3eb12dff0f9c6aa7f2916edaaec5545af5f379f (patch)
tree376bc95f81f7f8101425ce59142ac96ba0533b2e /tools/perf/scripts/python/export-to-postgresql.py
parentb3ef3205bc5e5d5a91f7ef53306686967c76492b (diff)
downloadlinux-c3eb12dff0f9c6aa7f2916edaaec5545af5f379f.tar.xz
drm/amdkfd: Ignore bogus signals from MEC efficiently
MEC firmware sometimes sends signal interrupts without a valid context ID on end of pipe events that don't intend to signal any HSA signals. This triggers the slow path in kfd_signal_event_interrupt that scans the entire event page for signaled events. Detect these signals in the top half interrupt handler to stop processing them as early as possible. Because we now always treat event ID 0 as invalid, reserve that ID during process initialization. v2: Update firmware version checks to support more GPUs Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Philip Yang <Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions