[PATCH] drm/etnaviv: reduce number of ktime_get calls in IRQ handler

Philipp Zabel p.zabel at pengutronix.de
Mon Jun 24 12:13:13 UTC 2024


On Fr, 2024-06-21 at 22:00 +0200, Lucas Stach wrote:
> A single IRQ might signal the completion of multiple jobs/fences
> at once. There is no point in attaching a new timestamp to each
> fence that only differs in when exactly the IRQ handler was able
> to process this fence.
> 
> Get a single timestamp when the IRQ handler has determined that
> there are completed jobs and reuse this for all fences that get
> signalled by the handler.
> 
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp


More information about the etnaviv mailing list