mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 14:00:37 +02:00
The vdrm_execbuf() missed to set the seqno field for requests sent to host. This causes vdrm_host_sync() to lock up due to the unset seqno in a case where two or more threads are using vdrm_execbuf() and vdrm_send_req() concurrently, like in this scenario: thread1: vdrm_send_req() shmem->seqno=1 req->seqno=2 thread2: vdrm_execbuf() shmem->seqno=1 req->seqno=0 thread1: vdrm_host_sync() shmem->seqno=0 req->seqno=2 Fix the lockup by setting the seqno in vdrm_execbuf(). Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27021> |
||
|---|---|---|
| .. | ||
| ci | ||
| vdrm | ||
| venus-protocol | ||
| virtio-gpu | ||
| vtest | ||
| vulkan | ||
| meson.build | ||