dma-fence: Fix timestamp memory ordering
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dma-buf/dma-fence: Ensure correct ordering in dma_fence_timestamp()include/ | +9 | 2 replies | |
| 2/3 | dma-buf: dma-fence: Add dma_fence_overwrite_timestamp()drivers/ include/ | +29 | 2 replies | |
| 3/3 | drm/sched: Fix memory ordering with dma_fence_overwrite_timestamp()drivers/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] dma-fence: Fix timestamp memory ordering
Based on misc-fixes
The memory ordering for obtaining a fences timestamp seems to be broken. Moreover, there is no canonical way for users to obtain the timestamp, as proven by the broken ordering in drm_sched.
See also my patch for the signaled flag [1].
@Tvrtko, would you mind basing your patch [2] on this series? That way we'd solve both bugs.
[1] https://lore.kernel.org/dri-devel/[email protected]/
[2] https://lore.kernel.org/dri-devel/[email protected]/
Philipp Stanner (3):
dma-buf/dma-fence: Ensure correct ordering in dma_fence_timestamp()
dma-buf: dma-fence: Add dma_fence_overwrite_timestamp() drm/sched: Fix memory ordering with dma_fence_overwrite_timestamp()
drivers/dma-buf/dma-fence.c | 28 ++++++++++++++++++++++++++ drivers/gpu/drm/scheduler/sched_main.c | 28 +++++++++++++++++++++----- include/linux/dma-fence.h | 15 +++++++++----- 3 files changed, 61 insertions(+), 10 deletions(-)
base-commit: 7488ee210542b918b9c5749a29fd1502c49a0665
Signature · 1 line
2.56.0