OSDN Git Service

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)
committerDanilo Krummrich <dakr@redhat.com>
Fri, 27 Jan 2023 13:16:18 +0000 (14:16 +0100)
commitd2ceea0eb6e17bb37d8b85cb4c16797c0d683d1c
tree94b91bd852c3536d82a9a196b34f9667f840e1f9
parent343c700480982214dc4f834f536a49a4098e556a
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.

Cc: <stable@vger.kernel.org> # v6.1
Fixes: c85d00d4fd8b ("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
drivers/dma-buf/dma-fence.c