All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] drm/vc4: Async page flip cleanup
@ 2018-03-30 15:09 Boris Brezillon
  2018-03-30 15:09 ` [RFC 1/2] drm/vc4: Handle async page flips in the atomic_commit() path Boris Brezillon
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Boris Brezillon @ 2018-03-30 15:09 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, dri-devel, Eric Anholt,
	Gustavo Padovan
  Cc: Boris Brezillon

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(-)

-- 
2.14.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-10  0:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-30 15:09 [RFC 0/2] drm/vc4: Async page flip cleanup Boris Brezillon
2018-03-30 15:09 ` [RFC 1/2] drm/vc4: Handle async page flips in the atomic_commit() path Boris Brezillon
2018-03-30 15:20   ` Boris Brezillon
2018-03-30 15:09 ` [RFC 2/2] drm/vc4: Get rid of vc4_queue_seqno_cb() and its dependencies Boris Brezillon
2018-04-10  0:13 ` [RFC 0/2] drm/vc4: Async page flip cleanup Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.