diff options
| author | Maíra Canal <mcanal@igalia.com> | 2026-11-14 16:16:52 -0300 |
|---|---|---|
| committer | Maíra Canal <mcanal@igalia.com> | 2026-11-17 17:13:37 -0300 |
| commit | f9fc6da01a290609428d308033143f1d96ab658f (patch) | |
| tree | 20d19f5c22ec3eb66a0979c4f7ba4e8ff9f7c39b /rust/kernel/alloc | |
| parent | 12a321af56c436e299414d8c276457dcf387e0cf (diff) | |
drm/vc4: Look up the async page flip fence before committing the flip
vc4_async_page_flip_common() ignores dma_resv_get_singleton() failures.
By then the plane state already points at the new framebuffer, so the
flip is never completed. So, its state leaks, the vblank reference is
never dropped and the event is never sent.
Look up the fence before changing any state, so the error can be properly
returned to userspace.
Cc: stable@vger.kernel.org
Fixes: d19e00ee06a9 ("drm/vc4: crtc: Fix out of order frames during asynchronous page flips")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Link: https://patch.msgid.link/20261114-vc4-async-flip-fixes-v2-3-d33cbe99ed5d@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
