On Sat, 14 Nov 2026 16:16:49 -0300, Maíra Canal wrote:
> VC4 implements async page flips with a custom code path that waits for
> the BO fence before completing the flip. On VC4_GEN_4 (RPi 0-3), the
> completion also decrements the usecnt of the old FB's BO. This series
> fixes three bugs in that path.
> 
> Since commit e8941ac97f28 ("drm/vc4: Remove BOs seqnos"), the completion
> runs from a dma_fence callback. VC4 signals that fence from the render
> job IRQ handler. As vc4_bo_dec_usecnt() takes a mutex, running an SDL
> application with SDL_VIDEODRIVER=kmsdrm on the RPi 3 triggers:
> 
> [...]

Applied to drm-misc-fixes, thanks!

[1/3] drm/vc4: Drop BO usecnt before releasing the old FB
      commit: 43b85636ea0d33152bf16816b7601e785723596d
[2/3] drm/vc4: Complete async page flips from an ordered workqueue
      commit: 12a321af56c436e299414d8c276457dcf387e0cf
[3/3] drm/vc4: Look up the async page flip fence before committing the flip
      commit: f9fc6da01a290609428d308033143f1d96ab658f

Best regards,
- Maíra

Reply via email to