diff options
author | Paul Cercueil <paul@crapouillou.net> | 2024-04-02 13:09:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-04 15:20:30 +0200 |
commit | 862b416560c348f66d2091c56e71fd5462510cab (patch) | |
tree | 5d1a3e4253c7362acd87880a56495f2a2524a2cd /scripts/gdb/linux/timerlist.py | |
parent | 1500a7b2794d46beadd408132ddb5ef669c5c057 (diff) |
usb: gadget: functionfs: Wait for fences before enqueueing DMABUF
Instead of bailing when fences have already been installed on the
DMABUF, wait for them (with a timeout) when doing a blocking operation.
This fixes the issue where userspace would submit a DMABUF with fences
already installed, with the (correct) expectation that it would just
work.
Fixes: 7b07a2a7ca02 ("usb: gadget: functionfs: Add DMABUF import interface")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20240402110951.16376-3-paul@crapouillou.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions