Skip to content

gpu: host1x: syncpt_wait micro-optimizations

Tanmay Patil dri-devel linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpu: host1x: skip redundant syncpoint loads in host1x_syncpt_wait()drivers/gpu/host1x/syncpt.c+14 -90 replies
2/2gpu: host1x: skip redundant HW state updatedrivers/gpu/host1x/intr.c+6 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMikko Perttunen
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] gpu: host1x: syncpt_wait micro-optimizations

This series reduces the latency in host1x syncpoint wait path.

Patch 1 removes redundant MMIO reads in host1x_syncpt_wait(). Patch 2 skips the host1x_intr_update_hw_state() call in the ISR when no fences remain.

Measured syncpoint wait latency (50000 samples):
Average latency: 12.2 us -> 9.4 us
99.99 pct latency: 62.96 us -> 36.58 us

Tanmay Patil (2):
gpu: host1x: skip redundant syncpoint loads in host1x_syncpt_wait()
gpu: host1x: skip redundant HW state update

 drivers/gpu/host1x/intr.c   |  8 ++++++--
 drivers/gpu/host1x/syncpt.c | 23 ++++++++++++++---------
 2 files changed, 20 insertions(+), 11 deletions(-)
Signature · 1 line
2.54.0