diff options
author | Alessio Belle <alessio.belle@imgtec.com> | 2025-04-10 12:55:05 +0300 |
---|---|---|
committer | Matt Coster <matt.coster@imgtec.com> | 2025-04-15 14:21:50 +0300 |
commit | bdced61365b4eca917b6df37d3d47c2f7d096d87 (patch) | |
tree | e76197e4ed63f144855dc5833e9e6708605fe2cd /tools/perf/scripts/python/gecko.py | |
parent | 330e76d3169721a55658c3b4fed872df6b0d6239 (diff) | |
download | linux-bdced61365b4eca917b6df37d3d47c2f7d096d87.tar.xz |
drm/imagination: Mask GPU IRQs in threaded handler
Pass IRQF_ONESHOT flag to request_threaded_irq(), so that interrupts will
be masked by the kernel until the end of the threaded IRQ handler. Since
the calls to pvr_fw_irq_enable() and pvr_fw_irq_disable() are now
redundant, remove them.
Interrupts to the host from the soon-to-be-added RISC-V firmware
processors cannot be masked in hardware. This change allows us to continue
using the threaded handler in GPUs with a RISC-V firmware.
For simplicity, the same approach is taken for all firmware processors.
Signed-off-by: Alessio Belle <alessio.belle@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Link: https://lore.kernel.org/r/20250410-sets-bxs-4-64-patch-v1-v6-6-eda620c5865f@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions