summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTanmay Patil <tanmayp@nvidia.com>2026-05-14 13:31:53 +0300
committerThierry Reding <treding@nvidia.com>2026-05-28 18:19:28 +0300
commit132926b2173360a48950a726bbdee464868f740b (patch)
treebf79019a0d8c41cf86eef374630b4b7d632c54df /include
parent6fea41ff3642483cd6d968c3a9bcdb47a8c35312 (diff)
downloadlinux-132926b2173360a48950a726bbdee464868f740b.tar.xz
gpu: host1x: Skip redundant HW state update
When the fence list is empty, host1x_intr_update_hw_state() falls through to host1x_intr_disable_syncpt_intr() which does two MMIO writes to disable the syncpoint interrupt and clear its status. The ISR has already disabled and acked the interrupt before calling host1x_intr_handle_interrupt(), making these two writes redundant. Skip the update_hw_state() call if no fences remain. Measured Syncpoint wait latency (50000 samples): Average latency: 10.6 us -> 9.4 us 99.99 pct latency: 51.90 us -> 36.58 us Signed-off-by: Tanmay Patil <tanmayp@nvidia.com> Acked-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patch.msgid.link/20260514103153.766343-3-tanmayp@nvidia.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions