linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/4] Add MEDIA_PAD_FL_MUST_CONNECT pad flag, check it
@ 2013-07-19 17:55 Sakari Ailus
  2013-07-19 17:55 ` [RFC 1/4] media: Add pad flag MEDIA_PAD_FL_MUST_CONNECT Sakari Ailus
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Sakari Ailus @ 2013-07-19 17:55 UTC (permalink / raw)
  To: linux-media

Hi all,

This is a small RFC patchset which adds a new pad flag
MEDIA_PAD_FL_MUST_CONNECT. Pads that have this flag are required to be
connected through an enabled link for the entity to be able to stream. Both
sink and source pads may have this flag, compared to my old patch which
required all sink pads to be connected.

One of the additional benefits is that the users will also know which pads
must be connected which is better than the ah-so-informative -EPIPE. More
complex cases are still left for the driver to implement, though.

The omap3isp driver gets these flags to all of its sink pads. Other drivers
would likely need to be changed by the driver authors since I have little
knowledge of their requirements.

Consequently, an additional loop over the media graph can be avoided in the
omap3isp driver (4th patch) since the driver no longer has the
responsibility to check that its pads are connected.

-- 
Kind regards,
Sakari


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

end of thread, other threads:[~2013-09-18  8:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19 17:55 [RFC 0/4] Add MEDIA_PAD_FL_MUST_CONNECT pad flag, check it Sakari Ailus
2013-07-19 17:55 ` [RFC 1/4] media: Add pad flag MEDIA_PAD_FL_MUST_CONNECT Sakari Ailus
2013-07-19 17:55 ` [RFC 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag Sakari Ailus
2013-08-08 23:34   ` Laurent Pinchart
2013-08-10 12:16     ` Sakari Ailus
2013-08-21  3:22       ` Laurent Pinchart
2013-08-21 10:32         ` Sakari Ailus
2013-08-31 16:28         ` [PATCH v1.1 3/5] media: Pads that are not connected by even a disabled link are fine Sakari Ailus
2013-09-03 18:07           ` Laurent Pinchart
2013-09-03 23:56             ` Sakari Ailus
2013-09-04  0:09             ` [RFC v1.2 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag Sakari Ailus
2013-09-06 16:30               ` Laurent Pinchart
2013-09-06 17:10                 ` Sakari Ailus
2013-09-18  8:37                   ` Sakari Ailus
2013-07-19 17:55 ` [RFC 3/4] omap3isp: Mark which pads must connect Sakari Ailus
2013-07-19 17:55 ` [RFC 4/4] omap3isp: Add resizer data rate configuration to resizer_link_validate Sakari Ailus

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