Re: [PATCH RESEND v2 1/2] dma-fence: allow signaling drivers to set fence timestamp

2021-01-09 Thread veeras
On 2021-01-08 11:55, John Stultz wrote: On Thu, Jan 7, 2021 at 12:53 AM Veera Sundaram Sankaran wrote: Some drivers have hardware capability to get the precise timestamp of certain events based on which the fences are triggered. This allows it to set accurate timestamp factoring out any softw

Re: [PATCH RESEND v2 1/2] dma-fence: allow signaling drivers to set fence timestamp

2021-01-08 Thread John Stultz
On Thu, Jan 7, 2021 at 12:53 AM Veera Sundaram Sankaran wrote: > > Some drivers have hardware capability to get the precise timestamp of > certain events based on which the fences are triggered. This allows it to > set accurate timestamp factoring out any software and IRQ latencies. Add > a timest

[PATCH RESEND v2 1/2] dma-fence: allow signaling drivers to set fence timestamp

2021-01-07 Thread Veera Sundaram Sankaran
Some drivers have hardware capability to get the precise timestamp of certain events based on which the fences are triggered. This allows it to set accurate timestamp factoring out any software and IRQ latencies. Add a timestamp variant of fence signal function, dma_fence_signal_timestamp to allow