]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: actually set signaling bit for private stub fences
authorDanilo Krummrich <dakr@redhat.com>
Thu, 26 Jan 2023 00:28:44 +0000 (01:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:23 +0000 (11:28 +0100)
commitfae2c40a6e0832a52b78fd15227707f216acaa71
treec5eb7b45960b2c2968c85af8ca8044059728db57
parent2e7cdb35c7c3f7b916d81ce01e44e5507df63ede
dma-buf: actually set signaling bit for private stub fences

commit d2ceea0eb6e17bb37d8b85cb4c16797c0d683d1c upstream.

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.

Cc: <stable@vger.kernel.org> # v6.1
Fixes: 668157417a7b ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma-buf/dma-fence.c