From: Julia Lawall
Date: Sun, 25 Oct 2015 14:56:59 +0100
> The various for_each device_node iterators performs an of_node_get on each
> iteration, so a break out of the loop requires an of_node_put.
>
> The complete semantic patch that fixes this problem is
> (http://coccinelle.lip6.fr):
...
S
This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date: Tue Oct 27 04:00:15 CET 2015
git branch: test
git hash: 79f5b6ae960d380c829fb67d5dadcd1d025d2775
gcc versio
On October 26, 2015 7:13:52 PM EDT, Warren Sturm wrote:
>Hi Andy.
>
>I don't know whether this was intended but the pvr250 lost the
>composite 3 input when going from kernel version 4.1.10 to 4.2.3.
>
>This is on a Fedora 22 x86_64 system.
>
>
>Thanks for any insight.
Unintentional.
I'm guessing
Initialise a given graph walk object once, and then keep using it whilst
the same pipeline is running. Once the pipeline is stopped, release the
graph walk object.
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 17 +++--
include/media/media-entity.h | 1 +
2 files ch
Signed-off-by: Sakari Ailus
---
drivers/media/platform/vsp1/vsp1_video.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/media/platform/vsp1/vsp1_video.c
b/drivers/media/platform/vsp1/vsp1_video.c
index f741582..ce10d86 100644
--- a/drivers/media/platform/vsp1/vsp1_video.c
++
The purpose of the macro has changed, rename it accordingly. It is not and
should no longer be used in drivers directly, but only for the purpose for
defining how many bits can be allocated from the stack for entity
enumerations.
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 2 +
Signed-off-by: Sakari Ailus
---
drivers/media/platform/xilinx/xilinx-dma.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/media/platform/xilinx/xilinx-dma.c
b/drivers/media/platform/xilinx/xilinx-dma.c
index bc244a0..0a19824 100644
--- a/drivers/media/platform/xilinx/xilinx
Hi,
This is an update to my previous RFC patchset here:
http://www.spinics.net/lists/linux-media/msg93481.html>
In addition to the problems the patchset previously resolved and features
it implemented:
- unrestricted media entity ID support and
- API to manage entity enumerations
this set now
From: Sakari Ailus
Signed-off-by: Sakari Ailus
---
drivers/media/platform/vsp1/vsp1_video.c | 45 ++--
1 file changed, 31 insertions(+), 14 deletions(-)
diff --git a/drivers/media/platform/vsp1/vsp1_video.c
b/drivers/media/platform/vsp1/vsp1_video.c
index ce10d86..
This will also mean that the necessary graph related data structures will
be allocated dynamically, removing the need for maximum ID checks.
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 16 ++--
include/media/media-entity.h | 2 +-
2 files changed, 7 insertions(+),
The struct media_entity_graph was allocated in the stack, limiting the
number of entities that could be reasonably allocated. Instead, move the
struct to struct media_pipeline which is typically allocated using
kmalloc() instead.
The intent is to keep the enumeration around for later use for the
d
From: Sakari Ailus
The internal index can be used internally by the framework in order to keep
track of entities for a purpose or another. The internal index is constant
while it's registered to a media device, but the same index may be re-used
once the entity having that index is unregistered.
Signed-off-by: Sakari Ailus
---
drivers/media/platform/exynos4-is/media-dev.c | 31 +--
drivers/media/platform/exynos4-is/media-dev.h | 1 +
2 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/drivers/media/platform/exynos4-is/media-dev.c
b/drivers/media/pla
From: Sakari Ailus
This is useful in e.g. knowing whether certain operations have already
been performed for an entity. The users include the framework itself (for
graph walking) and a number of drivers.
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 39 +
include/
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index bf3c31f..4161dc7 100644
--- a/drivers/media/media-entity.c
+++ b/drivers/media/media-enti
From: Sakari Ailus
Signed-off-by: Sakari Ailus
---
drivers/staging/media/omap4iss/iss.c | 15 +++
drivers/staging/media/omap4iss/iss.h | 4 ++--
drivers/staging/media/omap4iss/iss_video.c | 13 +++--
drivers/staging/media/omap4iss/iss_video.h | 4 ++--
4 files
From: Sakari Ailus
Signed-off-by: Sakari Ailus
---
drivers/media/platform/omap3isp/isp.c | 21 +
drivers/media/platform/omap3isp/isp.h | 5 +++--
drivers/media/platform/omap3isp/ispccdc.c | 2 +-
drivers/media/platform/omap3isp/ispvideo.c | 20 ++
The same bug was present in the omap4iss driver as was in the omap3isp
driver. The code got copied to the omap4iss driver while broken. Fix the
omap4iss driver as well.
Signed-off-by: Sakari Ailus
---
drivers/staging/media/omap4iss/iss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Signed-off-by: Sakari Ailus
---
drivers/media/platform/omap3isp/isp.c | 63 ++
drivers/media/platform/omap3isp/isp.h | 4 +-
drivers/media/platform/omap3isp/ispvideo.c | 19 -
drivers/media/platform/omap3isp/ispvideo.h | 1 +
4 files changed, 60 ins
Signed-off-by: Sakari Ailus
---
drivers/staging/media/omap4iss/iss.c | 59 +++---
drivers/staging/media/omap4iss/iss.h | 4 +-
drivers/staging/media/omap4iss/iss_video.c | 36 ++
drivers/staging/media/omap4iss/iss_video.h | 1 +
4 files change
Add media_entity_graph_walk_init() and media_entity_graph_walk_cleanup()
functions in order to dynamically allocate memory for the graph. This is
not done in media_entity_graph_walk_start() as there are situations where
e.g. correct error handling, that itself may not fail, requires successful
grap
It will be needed in struct media_pipeline shortly.
Signed-off-by: Sakari Ailus
---
include/media/media-entity.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index fc54192..dde9a5f 100644
--
If a different entity->pipe in a pipeline was encountered, a warning was
issued but the execution continued as if nothing had happened. Return an
error instead right there.
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
d
On 10/27/2015 02:04, Ran Shalit wrote:
> On Mon, Oct 26, 2015 at 1:46 PM, Steven Toth wrote:
>>> No, use V4L2. What you do with the frame after it has been captured
>>> into memory has no relevance to the API you use to capture into memory.
>>
>> Ran, I've built many open and closed source Linux
>> Hans is absolutely correct, don't make the mistake of going
>> proprietary with your API. Take advantage of the massive amount of
> Thank you very much for these valuable comments.
> If I may ask one more on this issue:
> Is there an example in linux tree, for a pci device which is used both
>
Hi Ran,
2015-10-26 18:04 GMT+01:00 Ran Shalit :
> On Mon, Oct 26, 2015 at 1:46 PM, Steven Toth wrote:
>>> No, use V4L2. What you do with the frame after it has been captured
>>> into memory has no relevance to the API you use to capture into memory.
>>
>> Ran, I've built many open and closed sour
On Mon, Oct 26, 2015 at 1:46 PM, Steven Toth wrote:
>> No, use V4L2. What you do with the frame after it has been captured
>> into memory has no relevance to the API you use to capture into memory.
>
> Ran, I've built many open and closed source Linux drivers over the
> last 10 years - so I can sp
Hi,
I was searching in the list if there is some RFC to implement some
kind of snapshot mode in the API. I found a conversation [1] but it
turned to flash capabilities.
The thing is, there are sensors with hardware trigger modes (a.k.a.
snapshot modes) but there is not any standard form to deal w
> No, use V4L2. What you do with the frame after it has been captured
> into memory has no relevance to the API you use to capture into memory.
Ran, I've built many open and closed source Linux drivers over the
last 10 years - so I can speak with authority on this.
Hans is absolutely correct, don
On 26 October 2015 08:21:07 GMT+00:00, Jean-Michel Hautbois
wrote:
>Hi Lucas,
>
>2015-10-26 8:53 GMT+01:00 Daniel Baluta :
>> Hi Lucas,
>>
>> Adding linux-iio and linux-media, I hope you don't mind.
>>
>> On 10/23/2015 06:58 PM, Lucas Magasweran wrote:
>>>
>>> Hi Daniel,
>>>
>>> My colleague, R
Hi Lucas,
2015-10-26 8:53 GMT+01:00 Daniel Baluta :
> Hi Lucas,
>
> Adding linux-iio and linux-media, I hope you don't mind.
>
> On 10/23/2015 06:58 PM, Lucas Magasweran wrote:
>>
>> Hi Daniel,
>>
>> My colleague, Roberto Cornetti, attended your IIO talk at LinuxCon
>> recently and is using the II
Hi Lucas,
Adding linux-iio and linux-media, I hope you don't mind.
On 10/23/2015 06:58 PM, Lucas Magasweran wrote:
Hi Daniel,
My colleague, Roberto Cornetti, attended your IIO talk at LinuxCon
recently and is using the IIO subsystem for an I2C IMU.
Glad to hear that :)
My question is if I
32 matches
Mail list logo