]> 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)
commit96c4cf13e5ca2c75ba3faf4444af93ce80f4e26f
tree5b3d567bb83bdb5fab98ff64afa5631daeb8b20b
parent44cb3a700e2a246c02ba405c8e3ee77ed587b1ea
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