aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorErik Kurzinger <[email protected]>2024-01-19 08:32:08 -0800
committerSimon Ser <[email protected]>2024-02-22 11:27:49 +0100
commitd3f552488a7307e83d14be4bdf45a760f61f2886 (patch)
tree60be0712f1500f41d699d0a0e2208e3042c4c8bd /tools/testing/selftests/bpf/progs/test_autoload.c
parent18226ba52159257d4c2f777a168cc09adb3c1ac0 (diff)
drm/syncobj: call might_sleep before waiting for fence submission
If either the DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT or DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE flags are passed to drm_syncobj_array_wait_timeout, the function might sleep if the fence at one of the given timeline points has not yet been submitted. Therefore, we should call might_sleep in that case to catch potential bugs. Signed-off-by: Erik Kurzinger <[email protected]> Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Acked-by: Simon Ser <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions