[CI 12/12] no gc
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Wed Feb 15 16:17:23 UTC 2023
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
drivers/dma-buf/dma-fence-chain.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/dma-buf/dma-fence-chain.c b/drivers/dma-buf/dma-fence-chain.c
index 68684d54c78b..2036da466146 100644
--- a/drivers/dma-buf/dma-fence-chain.c
+++ b/drivers/dma-buf/dma-fence-chain.c
@@ -39,7 +39,7 @@ static struct dma_fence *dma_fence_chain_get_prev(struct dma_fence_chain *chain)
struct dma_fence *dma_fence_chain_walk(struct dma_fence *fence)
{
struct dma_fence_chain *chain, *prev_chain;
- struct dma_fence *prev, *replacement, *tmp;
+ struct dma_fence *prev/*, *replacement, *tmp*/;
chain = to_dma_fence_chain(fence);
if (!chain) {
@@ -54,20 +54,20 @@ struct dma_fence *dma_fence_chain_walk(struct dma_fence *fence)
if (!dma_fence_is_signaled(prev_chain->fence))
break;
- replacement = dma_fence_chain_get_prev(prev_chain);
+// replacement = dma_fence_chain_get_prev(prev_chain);
} else {
if (!dma_fence_is_signaled(prev))
break;
- replacement = NULL;
+// replacement = NULL;
}
- tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev),
- RCU_INITIALIZER(replacement)));
- if (tmp == prev)
- dma_fence_put(tmp);
- else
- dma_fence_put(replacement);
+// tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev),
+// RCU_INITIALIZER(replacement)));
+// if (tmp == prev)
+// dma_fence_put(tmp);
+// else
+// dma_fence_put(replacement);
dma_fence_put(prev);
}
--
2.34.1
More information about the Intel-gfx-trybot
mailing list