The IP version number carries enough information to identify the exact
device instance features. Drop the related DT properties and use the IP
version instead.
Signed-off-by: Laurent Pinchart
---
.../devicetree/bindings/media/renesas,vsp1.txt | 21 ---
drivers/media/platform/vsp1/vsp1.h
On Wed, 2015-12-16 at 14:47 +0100, Hans Verkuil wrote:
> On 12/16/15 14:17, tiffany lin wrote:
> > Hi Hans,
> >
> >
> > On Tue, 2015-12-15 at 15:17 +0100, Hans Verkuil wrote:
> >>
> >> On 12/15/15 14:51, tiffany lin wrote:
> >>> We are not familiar with v4l2-compliance utility, we will check how
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: Thu Dec 17 04:00:18 CET 2015
git branch: test
git hash: 52d60eb7e6d6429a766ea1b8f67e01c3b2dcd3c5
gcc versio
Em Wed, 16 Dec 2015 18:12:58 -0700
Shuah Khan escreveu:
> On 12/16/2015 10:43 AM, Mauro Carvalho Chehab wrote:
> > Em Sun, 13 Dec 2015 09:12:50 -0200
> > Mauro Carvalho Chehab escreveu:
> >
>
> >
> > As far as I know, all pending items for Kernel 4.5 merge are
> > complete. I should be moving
Em Sun, 29 Nov 2015 21:20:08 +0200
Sakari Ailus escreveu:
> 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. correc
Le mercredi 16 décembre 2015 à 15:49 +0100, Philipp Zabel a écrit :
> > # [ 1382.828875] coda 204.vpu: CODA PIC_RUN timeout
> > # [ 1383.938704] coda 204.vpu: CODA PIC_RUN timeout
> >
> > The video is stopped but I can see last frame on the screen although in
> > qt application it should
Hello,
On 10/12/15 14:21, Sakari Ailus wrote:
> I discussed with Hans and he thought you'd be the best person to take a look
> at this.
>
> The case is that I'd like to build static binaries and that doesn't seem to
> work with what's in Makefile.am for libv4l1 and libv4l2 at the moment.
Sorry f
Em Sun, 13 Dec 2015 09:12:50 -0200
Mauro Carvalho Chehab escreveu:
> Em Fri, 11 Dec 2015 19:05:22 -0200
> Mauro Carvalho Chehab escreveu:
>
> > Em Thu, 10 Dec 2015 18:34:11 -0200
> > Mauro Carvalho Chehab escreveu:
> >
> > > Hi,
> > >
> > > I've been working during this week to address the i
Em Wed, 16 Dec 2015 16:03:01 +0200
Sakari Ailus escreveu:
> Hi Javier,
>
> On Wed, Dec 16, 2015 at 03:32:15PM +0200, Sakari Ailus wrote:
> > This is the third version of the unrestricted media entity ID range
> > support set. I've taken Mauro's comments into account and fixed a number
> > of bug
media_device_register_entity() is protected by a spin_lock.
Calling ida_pre_get() with GFP_KERNEL may put it to sleep,
with is a bad idea and causes this warning:
[ 8812.397195] BUG: sleeping function called from invalid context at
mm/slub.c:1287
[ 8812.397203] in_atomic(): 1, irqs_disabled(): 0
The DVB drivers may have 257 PADs. Get the next power of two
that would accomodate that amount.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/media-entity.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
in
There are two ancillary functions that are missing comments.
While those are used only internally at media-entity.c,
document them, for completeness.
Signed-off-by: Mauro Carvalho Chehab
---
include/media/media-entity.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/me
commit 1590ad7b52714 ("[media] media-device: split media initialization
and registration") moved the media controller register to a
separate function. That caused the following compilation issue,
if !CONFIG_MEDIA_CONTROLLER:
vim +445 drivers/media/usb/au0828/au0828-core.c
439 if (retv
Instead of using one u32 counter per type for object IDs, use
just one counter, and move it to u64, in order to match the
changes at the userspace API.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/media-entity.c | 35 +++
include/media/media-device.h | 1
Several parameters added by the media_ent_enum patches
were declared with wrong argument names:
include/media/media-device.h:333: warning: No description found for
parameter 'entity_internal_idx_max'
include/media/media-device.h:354: warning: No description found for
parameter 'en
Some exported functions were still documented at the .c file,
instead of documenting at the .h one.
Move the documentation to the right place, as we only use headers
at media device-drivers.xml DocBook.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/media-device.c | 37 -
This function was added recently, but weren't documented.
Add documentation for it.
Signed-off-by: Mauro Carvalho Chehab
---
include/media/media-entity.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index c4aaeb85229c..f90f
This patch allows device drivers to initialize more than one reserved
memory region assigned to given device. When driver needs to use more
than one reserved memory region, it should allocate child devices and
initialize regions by index or name for each of its child devices.
Signed-off-by: Marek
This patch replaces custom properties for definining reserved memory
regions with generic reserved memory bindings. All custom code for
handling MFC-specific reserved memory can be now removed from Exynos-DT
generic board code.
Signed-off-by: Marek Szyprowski
---
.../devicetree/bindings/media/s5
This patch removes custom code for initialization and handling of
reserved memory regions in s5p-mfc driver and replaces it with generic
named reserved memory regions specified in device tree.
s5p-mfc driver now handles two reserved memory regions: "left" and
"right", defined by generic reserved m
Enable support for Multimedia Codec (MFC) device for all Exynos4412-based
Odroid boards.
Signed-off-by: Marek Szyprowski
---
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dt
On Tue, Dec 15, 2015 at 09:22:56AM -0800, Dmitry Torokhov wrote:
> On Tue, Dec 15, 2015 at 5:30 AM, Gustavo Padovan wrote:
> > 2015-12-14 Dmitry Torokhov :
> >
> >> Userspace can close the sync device while there are still active fence
> >> points, in which case kernel produces the following warni
All multimedia devices found on Exynos SoCs support only contiguous
buffers, so set DMA max segment size to DMA_BIT_MASK(32) to let memory
allocator to correctly create contiguous memory mappings.
Signed-off-by: Marek Szyprowski
---
drivers/media/platform/exynos-gsc/gsc-core.c | 1 +
drivers/me
This patch adds support for IOMMU to s5p-mfc device driver. MFC firmware
is limited and it cannot use the default configuration. If IOMMU is
available, the patch disables the default DMA address space
configuration and creates a new address space of size limited to 256M
and base address set to 0x20
Hello,
This patchset finally perform cleanup of custom code in s5p-mfc codec
driver. The first part is removal of custom, driver specific code for
intializing and handling of reserved memory. Instead, a generic code for
reserved memory regions is used. Then, once it is done, the proper setup
of DM
On Tue, Dec 15, 2015 at 11:08:01AM -0800, Dmitry Torokhov wrote:
> On Tue, Dec 15, 2015 at 11:00 AM, Gustavo Padovan wrote:
> > 2015-12-15 Daniel Vetter :
> >
> >> On Mon, Dec 14, 2015 at 05:29:55PM -0800, Dmitry Torokhov wrote:
> >> > Userspace can close the sync device while there are still acti
Add a helper function for device drivers to set DMA's max_seg_size.
Setting it to largest possible value lets DMA-mapping API always create
contiguous mappings in DMA address space. This is essential for all
devices, which use dma-contig videobuf2 memory allocator and shared
buffers.
Signed-off-by
tree: git://linuxtv.org/media_tree.git media-controller
head: 0a3c36e2b81cf4fe4b6d094b27259716f0ed9a4d
commit: 1590ad7b52714fddc958189103c95541b49b1dae [2022/2026] [media]
media-device: split media initialization and registration
config: x86_64-rhel (attached as .config)
reproduce:
git
Hi Piotr,
thank you for the report.
Am Mittwoch, den 16.12.2015, 14:09 +0100 schrieb Piotr Lewicki:
> Hello,
> I'm running an application that plays video on an embedded device. It
> uses Qt5.4 and qt-gstreamer plugin and it runs on imx6q processor with
> yocto based linux (kernel version 3.19.
Hi Javier,
On Wed, Dec 16, 2015 at 03:32:15PM +0200, Sakari Ailus wrote:
> This is the third version of the unrestricted media entity ID range
> support set. I've taken Mauro's comments into account and fixed a number
> of bugs as well (omap3isp memory leak and omap4iss stream start).
Javier: Mau
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
---
since v3:
- Also rename the argument "e" in the prototype
On 12/16/15 14:17, tiffany lin wrote:
> Hi Hans,
>
>
> On Tue, 2015-12-15 at 15:17 +0100, Hans Verkuil wrote:
>>
>> On 12/15/15 14:51, tiffany lin wrote:
>>> We are not familiar with v4l2-compliance utility, we will check how to
>>> use it.
>>
>> It's part of v4l-utils.git (http://git.linuxtv.org
KernelDoc doesn't appear to handle anonymous structs defined inside
another gracefully. As the struct is internal to the framework graph walk
algorithm, detailed documentation isn't seen very important.
Signed-off-by: Sakari Ailus
---
include/media/media-entity.h | 9 +
1 file changed, 9
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
From: Sakari Ailus
Instead of using a bitmap directly in a driver, use the new media entity
enumeration interface to perform the same.
Signed-off-by: Sakari Ailus
---
drivers/media/platform/omap3isp/isp.c | 21 +
drivers/media/platform/omap3isp/isp.h | 5 +++--
d
media_entity_graph_walk_init() and media_entity_graph_walk_cleanup() are
now mandatory.
Signed-off-by: Sakari Ailus
---
Documentation/media-framework.txt | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/Documentation/media-framework.txt
b/Documentation
The media graph walk requires initialisation and cleanup soon. Update the
users to perform the soon necessary API calls.
Signed-off-by: Sakari Ailus
---
drivers/staging/media/omap4iss/iss.c | 59 +++---
drivers/staging/media/omap4iss/iss.h | 4 +-
drivers/sta
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 | 4 +++-
2 files
This isn't really a part of any interface drivers are expected to use. In
order to keep drivers from using it, hide it in media-entity.c. This was
always an arbitrary number and should be removed in the long run.
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 5 +
include/med
From: Sakari Ailus
Instead of using a bitmap directly in a driver, use the new media entity
enumeration interface to perform the same.
Signed-off-by: Sakari Ailus
---
drivers/media/platform/vsp1/vsp1_video.c | 45 ++--
1 file changed, 31 insertions(+), 14 deletions(
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 70803f7..4f789a4 100644
--
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 | 4 ++--
2 files changed, 8 insertions(+
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(-)
The media graph walk requires initialisation and cleanup soon. Update the
users to perform the soon necessary API calls.
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
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.
The media graph walk requires initialisation and cleanup soon. Update the
users to perform the soon necessary API calls.
Signed-off-by: Sakari Ailus
---
drivers/media/platform/omap3isp/isp.c | 63 ++
drivers/media/platform/omap3isp/isp.h | 4 +-
drivers/med
From: Sakari Ailus
Instead of using a bitmap directly in a driver, use the new media
entity enumeration interface to perform the same.
Signed-off-by: Sakari Ailus
---
drivers/staging/media/omap4iss/iss.c | 15 +++
drivers/staging/media/omap4iss/iss.h | 4 ++--
drivers/
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/m
The media graph walk requires initialisation and cleanup soon. Update the
users to perform the soon necessary API calls.
Signed-off-by: Sakari Ailus
Cc: Prabhakar Lad
---
drivers/staging/media/davinci_vpfe/vpfe_video.c | 37 ++---
drivers/staging/media/davinci_vpfe/vpfe_vide
The media graph walk requires initialisation and cleanup soon. Update the
users to perform the soon necessary API calls.
Signed-off-by: Sakari Ailus
Cc: Javier Martinez Canillas
Cc: Kamil Debski
Cc: Sylwester Nawrocki
---
drivers/media/platform/exynos4-is/media-dev.c | 31 +---
The media graph walk requires initialisation and cleanup soon. Update the
users to perform the soon necessary API calls.
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/dr
The bitmaps for entity enumerations used to be statically allocated. Now
that the drivers have been converted to use the new interface which
explicitly initialises the enum objects, drop the pre-allocated bitmaps.
Signed-off-by: Sakari Ailus
---
drivers/media/media-entity.c | 16 +---
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
Hello all,
This is the third version of the unrestricted media entity ID range
support set. I've taken Mauro's comments into account and fixed a number
of bugs as well (omap3isp memory leak and omap4iss stream start).
The more specific changes since v2 are here:
- Renamed struct media_entity_enu
The media graph walk requires initialisation and cleanup soon. Update the
users to perform the soon necessary API calls.
Signed-off-by: Sakari Ailus
Cc: Hyun Kwon
---
drivers/media/platform/xilinx/xilinx-dma.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/media/platform/x
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
Hi Hans,
On Tue, 2015-12-15 at 15:17 +0100, Hans Verkuil wrote:
>
> On 12/15/15 14:51, tiffany lin wrote:
> > Hi Hans,
> >
> > Thanks for your time.
> >
> > On Mon, 2015-12-14 at 13:50 +0100, Hans Verkuil wrote:
> >> Hi Tiffany,
> >>
> >> My apologies for the long delay, but I finally have tim
Hello,
I'm running an application that plays video on an embedded device. It
uses Qt5.4 and qt-gstreamer plugin and it runs on imx6q processor with
yocto based linux (kernel version 3.19.5).
When I built a sample from this qt-gstreamer package called qmlplayer2
and used it to play video I came
Hi Hans,
Thanks for your comments.
On Wed, 16 Dec 2015, Hans Verkuil wrote:
> On 12/16/15 10:37, Guennadi Liakhovetski wrote:
> > Hi all,
> >
> > A project, I am currently working on, requires acquiringing per-frame
> > metadata from the camera and passing it to user-space. This is not the
>
pment,
> - Merging in the new topic branch "early on", and rebasing all other
> private development on top of that.
> For "big" changes that's OK. For adding a bunch of Acked-by's it's a lot of
> work.
>
> > In the meantime I
Hi Laurent,
On Wednesday 16 December 2015 09:47:58 Laurent Pinchart wrote:
> Hi Markus,
>
> Thank you for the patch.
>
> On Monday 14 December 2015 15:41:53 Markus Pargmann wrote:
> > This patch adds V4L2 controls for Auto Exposure Control and Auto Gain
> > Control settings. These settings inclu
On 12/16/15 10:37, Guennadi Liakhovetski wrote:
> Hi all,
>
> A project, I am currently working on, requires acquiringing per-frame
> metadata from the camera and passing it to user-space. This is not the
> first time this comes up and I know such discussions have been held
> before. A typical
Hi all,
A project, I am currently working on, requires acquiringing per-frame
metadata from the camera and passing it to user-space. This is not the
first time this comes up and I know such discussions have been held
before. A typical user is Android (also my case), where you have to
provide p
Hi Mauro,
The following changes since commit 52d60eb7e6d6429a766ea1b8f67e01c3b2dcd3c5:
Revert "[media] UVC: Add support for ds4 depth camera" (2015-12-12 08:10:40
-0200)
are available in the git repository at:
git://linuxtv.org/pinchartl/media.git vsp1/next
for you to fetch changes up to
Hi Laurent,
On Sat, Dec 5, 2015 at 11:54 PM, Laurent Pinchart
wrote:
> On Saturday 05 December 2015 11:57:49 Geert Uytterhoeven wrote:
>> As http://git.linuxtv.org/pinchartl/media.git/tag/?id=vsp1-kms-20151112 is
>> getting old, and has lots of conflicts with recent -next, do you plan to
>> publi
Op 15-12-15 om 18:19 schreef Dmitry Torokhov:
> On Tue, Dec 15, 2015 at 2:01 AM, Maarten Lankhorst
> wrote:
>> Op 15-12-15 om 02:29 schreef Dmitry Torokhov:
>>> Userspace can close the sync device while there are still active fence
>>> points, in which case kernel produces the following warning:
>
Hi Mauro,
The following changes since commit 991ce92f8de24cde063d531246602b6e14d3fef2:
[media] use https://linuxtv.org for LinuxTV URLs (2015-12-04 10:38:59 -0200)
are available in the git repository at:
git://linuxtv.org/pinchartl/media.git uvc/next
for you to fetch changes up to 0f7c2217
Em Wed, 16 Dec 2015 01:16:30 +0200
Sakari Ailus escreveu:
> Hi Mauro,
>
> On Sun, Dec 13, 2015 at 10:54:57PM -0200, Mauro Carvalho Chehab wrote:
> > > >> + e->idx_max = idx_max;
> > > >> +
> > > >> + return 0;
> > > >> +}
> > > >> +EXPORT_SYMBOL_GPL(__media_entity_enum_init);
> > > >>
68 matches
Mail list logo