<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/media-entity.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-09-17T17:16:19Z</updated>
<entry>
<title>media: v4l2-mc: switch it to use the new approach to setup pipelines</title>
<updated>2018-09-17T17:16:19Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2018-07-31T13:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d6d20e652c0d304f98de30d51805658f98ba27d'/>
<id>urn:sha1:9d6d20e652c0d304f98de30d51805658f98ba27d</id>
<content type='text'>
Instead of relying on a static map for pids, use the new sig_type
"taint" type to setup the pipelines with the same tipe between
different entities.

Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: media.h: reorganize header to make it easier to understand</title>
<updated>2018-02-26T15:14:46Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2018-02-05T11:19:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed3056f015de90a53127d05c34d49fe3e04675a4'/>
<id>urn:sha1:ed3056f015de90a53127d05c34d49fe3e04675a4</id>
<content type='text'>
The media.h public header is very messy. It mixes legacy and 'new' defines
and it is not easy to figure out what should and what shouldn't be used. It
also contains confusing comment that are either out of date or completely
uninteresting for anyone that needs to use this header.

The patch groups all entity functions together, including the 'old' defines
based on the old range base. The reader just wants to know about the available
functions and doesn't care about what range is used.

All legacy defines are moved to the end of the header, so it is easier to
locate them and just ignore them.

The legacy structs in the struct media_entity_desc are put under
also a much more effective signal to the reader that they shouldn't be used
compared to the old method of relying on '#if 1' followed by a comment.

The unused MEDIA_INTF_T_ALSA_* defines are also moved to the end of the header
in the legacy area. They are also dropped from intf_type() in media-entity.c.

All defines are also aligned at the same tab making the header easier to read.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
[mchehab@s-opensource.com: removed lots of spaces before tabs; typo changes -&gt;change ]
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media: Check for active and has_no_links overrun</title>
<updated>2017-10-04T20:16:14Z</updated>
<author>
<name>Sakari Ailus</name>
</author>
<published>2015-10-05T15:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=885ca801e36d77c2d0025486b178c585a4680a80'/>
<id>urn:sha1:885ca801e36d77c2d0025486b178c585a4680a80</id>
<content type='text'>
The active and has_no_links arrays will overrun in
media_entity_pipeline_start() if there's an entity which has more than
MEDIA_ENTITY_MAX_PAD pads. Ensure in media_entity_init() that there are
fewer pads than that.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>media: Make parameter of media_entity_remote_pad() const</title>
<updated>2017-07-20T20:54:04Z</updated>
<author>
<name>Todor Tomov</name>
</author>
<published>2017-07-03T12:08:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6538b02d210f52ef2a2e67d59fcb58be98451fbd'/>
<id>urn:sha1:6538b02d210f52ef2a2e67d59fcb58be98451fbd</id>
<content type='text'>
The local pad parameter in media_entity_remote_pad() is not modified.
Make that explicit by adding a const modifier.

Signed-off-by: Todor Tomov &lt;todor.tomov@linaro.org&gt;
Acked-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media: entity: Catch unbalanced media_pipeline_stop calls</title>
<updated>2017-06-23T12:23:36Z</updated>
<author>
<name>Kieran Bingham</name>
</author>
<published>2017-01-03T13:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a2599c663684a1142dae0bff7737e125891ae6d'/>
<id>urn:sha1:2a2599c663684a1142dae0bff7737e125891ae6d</id>
<content type='text'>
Drivers must not perform unbalanced calls to stop the entity pipeline,
however if they do they will fault in the core media code, as the
entity-&gt;pipe will be set as NULL. We handle this gracefully in the core
with a WARN for the developer.

Replace the erroneous check on zero streaming counts, with a check on
NULL pipe elements instead, as this is the symptom of unbalanced
media_pipeline_stop calls.

Signed-off-by: Kieran Bingham &lt;kieran.bingham+renesas@ideasonboard.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pincharts@ideasonboard.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media: entity: Add media_entity_get_fwnode_pad() function</title>
<updated>2017-06-20T12:09:37Z</updated>
<author>
<name>Niklas Söderlund</name>
</author>
<published>2017-06-15T09:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d295c6a460cd2ac63597691288ed044f5cfa8a6e'/>
<id>urn:sha1:d295c6a460cd2ac63597691288ed044f5cfa8a6e</id>
<content type='text'>
This is a wrapper around the media entity get_fwnode_pad operation.

Signed-off-by: Niklas Söderlund &lt;niklas.soderlund+renesas@ragnatech.se&gt;
Acked-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media-entity: only call dev_dbg_obj if mdev is not NULL</title>
<updated>2017-04-19T11:15:51Z</updated>
<author>
<name>Helen Fornazier</name>
</author>
<published>2017-04-06T19:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d1d3d004c1c5386a0c7cf2e49b9de841ec4484b'/>
<id>urn:sha1:8d1d3d004c1c5386a0c7cf2e49b9de841ec4484b</id>
<content type='text'>
Fix kernel Oops NULL pointer deference
Call dev_dbg_obj only after checking if gobj-&gt;mdev is not NULL

Signed-off-by: Helen Koike &lt;helen.koike@collabora.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media: entity: Add debug information to graph walk</title>
<updated>2017-01-30T13:33:26Z</updated>
<author>
<name>Sakari Ailus</name>
</author>
<published>2016-07-20T15:39:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa79a84f65b37785ff56b30dc808c88bbc25a91b'/>
<id>urn:sha1:aa79a84f65b37785ff56b30dc808c88bbc25a91b</id>
<content type='text'>
Use dev_dbg() to tell about the progress of the graph traversal algorithm.
This is intended to make debugging of the algorithm easier.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media: Use single quotes to quote entity names</title>
<updated>2017-01-30T13:29:23Z</updated>
<author>
<name>Sakari Ailus</name>
</author>
<published>2016-12-08T15:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91b619adeb3753dc8fdc9f6aef692701f88f7420'/>
<id>urn:sha1:91b619adeb3753dc8fdc9f6aef692701f88f7420</id>
<content type='text'>
Instead of double quotes, use single quotes to quote entity names. Using
single quotes is consistent with the English language and is also in line
with the practices across the kernel.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media: entity: Split graph walk iteration into two functions</title>
<updated>2017-01-27T18:15:44Z</updated>
<author>
<name>Sakari Ailus</name>
</author>
<published>2016-07-20T15:31:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b1f8329121f553cbe83d22f7c62f86041c79257'/>
<id>urn:sha1:5b1f8329121f553cbe83d22f7c62f86041c79257</id>
<content type='text'>
With media_entity_graph_walk_next() getting more and more complicated (and
especially so with has_routing() support added), split the function into
two.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
</feed>
