]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dma-buf/selftests: drop the mock_wait implementation
authorChristian König <christian.koenig@amd.com>
Wed, 10 Dec 2025 13:47:36 +0000 (14:47 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 17 Dec 2025 14:00:57 +0000 (15:00 +0100)
commit97f419848b1db69fc7ea99f385a7d2fa2b2ca454
tree2a1c21b1524c17c030282768936cde042a082adb
parent920c6af98e98e6afedf6318a75bac95af8415c6c
dma-buf/selftests: drop the mock_wait implementation

Actually test the documented expectation of dma_fence_wait() instead of
comming up with a mock_wait implementation which uses undocumented
and non standard return codes and behavior.

Additional to that increase the timeout to one second, otherwise the
test case is a bit unreliable.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Link: https://lore.kernel.org/r/346e3df8-5f3a-4394-9d90-4ba107294161@ursulin.net
drivers/dma-buf/st-dma-fence.c