Skip to content

Commit 76b1d90

Browse files
dakrtdz
authored andcommitted
dma-buf: actually set signaling bit for private stub fences
In dma_fence_allocate_private_stub() set the signaling bit of the newly allocated private stub fence rather than the signaling bit of the shared dma_fence_stub. Fixes: c85d00d ("dma-buf: set signaling bit for the stub fence") Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Danilo Krummrich <dakr@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230126002844.339593-1-dakr@redhat.com (cherry picked from commit 851a4a7) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
1 parent 9bdd942 commit 76b1d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/dma-buf/dma-fence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ struct dma_fence *dma_fence_allocate_private_stub(void)
167167
0, 0);
168168

169169
set_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT,
170-
&dma_fence_stub.flags);
170+
&fence->flags);
171171

172172
dma_fence_signal(fence);
173173

0 commit comments

Comments
 (0)