All of lore.kernel.org
 help / color / mirror / Atom feed
* Synchronization between a crtc mode_set and page_flip?
@ 2014-04-02  9:52 Archit Taneja
  2014-04-02 13:11 ` Rob Clark
  0 siblings, 1 reply; 6+ messages in thread
From: Archit Taneja @ 2014-04-02  9:52 UTC (permalink / raw)
  To: dri-devel@lists.freedesktop.org

Hi,

I was trying to figure out how we are supposed to manage synchronization 
between a mode_set and a page_flip called on a crtc.

Say, if a mode_set is immediately followed by a page_flip. The driver 
can't process the page_flip straight away since the hardware is still 
completing the mode_set.

What is the driver supposed to do? Should it return -EBUSY? Or should it 
somehow queue the page_flip task internally?

A lot of libdrm applications seem to call mode_set, and call a page_flip 
soon after it. They tend to bail out if page_flip returns an error, they 
don't try to do another page_flip if it fails the first time. Is this 
okay behaviour?

Thanks,
Archit

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

end of thread, other threads:[~2014-04-04 11:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02  9:52 Synchronization between a crtc mode_set and page_flip? Archit Taneja
2014-04-02 13:11 ` Rob Clark
2014-04-03  8:58   ` Archit Taneja
2014-04-03 21:24     ` Daniel Vetter
2014-04-04  7:21       ` Archit Taneja
2014-04-04 11:54         ` Rob Clark

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.