]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: fix dma_resv_test_signaled test_all handling v2
authorChristian König <christian.koenig@amd.com>
Sun, 6 Jun 2021 09:46:33 +0000 (11:46 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 8 Jul 2021 12:59:08 +0000 (14:59 +0200)
commitae54687798bdd9c121d2b47895c335002a6aa08f
tree5b3d567bb83bdb5fab98ff64afa5631daeb8b20b
parente349ad529ee221bddfb4b4918b5625a55a62fd83
dma-buf: fix dma_resv_test_signaled test_all handling v2

As the name implies if testing all fences is requested we
should indeed test all fences and not skip the exclusive
one because we see shared ones.

v2: fix logic once more

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210702111642.17259-3-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c