Skip to content

RFC drm/vc4: Async page flip cleanup

Boris Brezillon dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/vc4: Handle async page flips in the atomic_commit() pathdrivers/gpu/drm/vc4/vc4_crtc.c drivers/gpu/drm/vc4/vc4_kms.c+86 -1181 reply
2/2drm/vc4: Get rid of vc4_queue_seqno_cb() and its dependenciesdrivers/gpu/drm/vc4/vc4_drv.h drivers/gpu/drm/vc4/vc4_gem.c+0 -530 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] drm/vc4: Async page flip cleanup

Hello,

This is an attempt at simplifying the async page flip handling in VC4 in order to get rid of vc4_queue_seqno_cb() and its dependencies and rely on fences instead.

The reason I'm sending this as an RFC is because I'm pretty sure we can put some of the code added in patch 1 in drm_atomic_helper.c. Also, I'd like to have feedback from Padovan, Daniel and maybe others who have already thought about handling async page flips generically. And the last reason is that it's not been extensively tested, so it may not work correctly :-).

Regards,

Boris

Boris Brezillon (2):
drm/vc4: Handle async page flips in the atomic_commit() path drm/vc4: Get rid of vc4_queue_seqno_cb() and its dependencies

 drivers/gpu/drm/vc4/vc4_crtc.c | 103 +----------------------------------------
 drivers/gpu/drm/vc4/vc4_drv.h  |  14 ------
 drivers/gpu/drm/vc4/vc4_gem.c  |  39 ----------------
 drivers/gpu/drm/vc4/vc4_kms.c  | 101 +++++++++++++++++++++++++++++++++-------
 4 files changed, 86 insertions(+), 171 deletions(-)
Signature · 6 lines
2.14.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel