linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug: s5p-mfc should allow multiple call to REQBUFS before we start streaming
@ 2014-08-29 13:46 Nicolas Dufresne
  2014-09-01  9:43 ` Kamil Debski
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Dufresne @ 2014-08-29 13:46 UTC (permalink / raw)
  To: linux-media; +Cc: k.debski

Hi Kamil,

after a discussion on IRC, we concluded that s5p-mfc have this bug that 
disallow multiple reqbufs calls before streaming. This has the impact 
that it forces to call REQBUFS(0) before setting the new number of 
buffers during re-negotiation, and is against the spec too.

As an example, in reqbufs_output() REQBUFS is only allowed in QUEUE_FREE 
state, and setting buffers exits this state. We think that the call to 
<http://lxr.free-electrons.com/ident?i=reqbufs_output>s5p_mfc_open_mfc_inst() 
should be post-poned until STREAMON is called. 
<http://lxr.free-electrons.com/ident?i=reqbufs_output>

cheers,
Nicolas
<http://lxr.free-electrons.com/ident?i=reqbufs_output>

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

end of thread, other threads:[~2014-09-02 12:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-29 13:46 Bug: s5p-mfc should allow multiple call to REQBUFS before we start streaming Nicolas Dufresne
2014-09-01  9:43 ` Kamil Debski
2014-09-01 15:45   ` Nicolas Dufresne
2014-09-02  9:02     ` Kamil Debski
2014-09-02  9:29       ` Hans Verkuil
2014-09-02 10:38         ` Kamil Debski
2014-09-02 12:02       ` Nicolas Dufresne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).