i915 seems to have built its own half-copy of parts of the dma_buf
subsystem. This includes interferences with dma_fences' timestamp bit,
which does not provide memory ordering and which does not seem to serve
a clear purpose in i915.

Remove the set_bit().

Signed-off-by: Philipp Stanner <[email protected]>
---
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_breadcrumbs.c 
b/drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
index c10ac0ab3bfa..a43d774ba779 100644
--- a/drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
+++ b/drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
@@ -138,7 +138,6 @@ static void
 __dma_fence_signal__timestamp(struct dma_fence *fence, ktime_t timestamp)
 {
        fence->timestamp = timestamp;
-       set_bit(DMA_FENCE_FLAG_TIMESTAMP_BIT, &fence->flags);
        trace_dma_fence_signaled(fence);
 }
 
-- 
2.56.0

Reply via email to