WSL2-Linux-Kernel/drivers/dma-buf
Veera Sundaram Sankaran f588f0c69e dma-fence: allow signaling drivers to set fence timestamp
Some drivers have hardware capability to get the precise HW timestamp
of certain events based on which the fences are triggered. The delta
between the event HW timestamp & current HW reference timestamp can
be used to calculate the timestamp in kernel's CLOCK_MONOTONIC time
domain. 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 drivers to update the
precise timestamp for fences.

Changes in v2:
- Add a new fence signal variant instead of modifying fence struct

Changes in v3:
- Add timestamp domain information to commit-text and
dma_fence_signal_timestamp documentation

Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Reviewed-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
 [sumits: minor parenthesis alignment]
Link: https://patchwork.freedesktop.org/patch/msgid/1610757107-11892-1-git-send-email-veeras@codeaurora.org
(cherry picked from commit 5a164ac4db)
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2021-02-24 21:05:28 +05:30
..
heaps dma-buf: heaps: Rework heap allocation hooks to return struct dma_buf instead of fd 2021-02-24 21:04:54 +05:30
Kconfig dma-buf: Add debug option 2021-01-18 14:26:51 +01:00
Makefile
dma-buf.c Linux 5.11-rc5 2021-01-25 14:35:44 +10:00
dma-fence-array.c
dma-fence-chain.c
dma-fence.c dma-fence: allow signaling drivers to set fence timestamp 2021-02-24 21:05:28 +05:30
dma-heap.c dma-buf: heaps: Rework heap allocation hooks to return struct dma_buf instead of fd 2021-02-24 21:04:54 +05:30
dma-resv.c
selftest.c
selftest.h
selftests.h
seqno-fence.c
st-dma-fence-chain.c
st-dma-fence.c dma-buf: Avoid comma separated statements 2021-02-09 17:14:11 +01:00
sw_sync.c
sync_debug.c
sync_debug.h
sync_file.c
sync_trace.h
udmabuf.c