aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorVeera Sundaram Sankaran <[email protected]>2021-01-15 16:31:46 -0800
committerSumit Semwal <[email protected]>2021-02-24 21:05:28 +0530
commitf588f0c69e0e645225e4ebc1aff8f9677583a056 (patch)
treedaa0da7dd5f08018269f52cb3a5d0588c5a1f480 /scripts/gdb/linux/device.py
parentabf4451b340b09f797c87341b3010f95af9215c0 (diff)
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 <[email protected]> Reviewed-by: John Stultz <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> [sumits: minor parenthesis alignment] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 5a164ac4dbd21b82bcdc03186d40e455ff467fdc) Signed-off-by: Sumit Semwal <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions