On Wed, Sep 09, 2015 at 08:40:39AM +0200, Hans Verkuil wrote:
> Every time compat32 encounters an unknown ioctl it will call pr_warn.
> However, that's very irritating since it is perfectly normal that this
> happens. For example, applications often try to call an ioctl to see if
> it exists, and i
Every time compat32 encounters an unknown ioctl it will call pr_warn.
However, that's very irritating since it is perfectly normal that this
happens. For example, applications often try to call an ioctl to see if
it exists, and if that's used with an older kernel where compat32 doesn't
support that
Hi,
I am trying to port some code I wrote for V4l to V4L2.
What I am trying to do is "overlay" video in memory instead of to a
video card. This worked fine in V4L, I hope I can still pull such
tricks... My "good" reason to this is that I want to be able to analyse
the video in a "RTAI" realtime
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: Wed Sep 9 04:00:21 CEST 2015
git branch: test
git hash: 50ef28a6ac216fd8b796257a3768fef8f57b917d
gcc versi
[adding linux-media + Alan Cox]
On 09/08/15 03:51, Alec Leamas wrote:
> Hi,
>
> I have filed a bug + a patch at [1]. This is my first contact with the kernel
> community, and I probably make it the wrong way. That said, after a first
> acknowledge in the tracker that this indeed a bug, I've go
Em Tue, 08 Sep 2015 16:34:59 +0300
Sakari Ailus escreveu:
> Hi Mauro,
>
> On Tue, Sep 08, 2015 at 07:49:45AM -0300, Mauro Carvalho Chehab wrote:
> > Em Tue, 8 Sep 2015 10:26:29 +0300
> > Sakari Ailus escreveu:
> >
> > > Hi Mauro,
> > >
> > > On Mon, Sep 07, 2015 at 10:23:57PM -0300, Mauro Car
On Tue, 8 Sep 2015, Hans de Goede wrote:
> Hi,
>
> On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote:
> > urb completion callback is executed in host controllers interrupt
> > context. To keep preempt disable time short, add urbs to a list on
> > completion and schedule work to process the list.
>
Hi Mauro,
On Tue, Sep 08, 2015 at 07:49:45AM -0300, Mauro Carvalho Chehab wrote:
> Em Tue, 8 Sep 2015 10:26:29 +0300
> Sakari Ailus escreveu:
>
> > Hi Mauro,
> >
> > On Mon, Sep 07, 2015 at 10:23:57PM -0300, Mauro Carvalho Chehab wrote:
> > > Em Tue, 8 Sep 2015 01:18:30 +0300
> > > Sakari Ailus
Hi,
On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote:
urb completion callback is executed in host controllers interrupt
context. To keep preempt disable time short, add urbs to a list on
completion and schedule work to process the list.
Moreover, save timestamp and sof number in the urb complet
Em Tue, 8 Sep 2015 10:26:29 +0300
Sakari Ailus escreveu:
> Hi Mauro,
>
> On Mon, Sep 07, 2015 at 10:23:57PM -0300, Mauro Carvalho Chehab wrote:
> > Em Tue, 8 Sep 2015 01:18:30 +0300
> > Sakari Ailus escreveu:
> >
> > > Hi Mauro,
> > >
> > > A few comments below.
> >
> > Thanks for review!
>
Hi folks,
This RFC patchset achieves two main objectives:
1. Respects cache flags passed from the user space. As no driver nor
videobuf2 has (ever?) implemented them, the two flags are replaced by a
single one (V4L2_BUF_FLAG_NO_CACHE_SYNC) and the two old flags are
deprecated. This is done since
From: Samu Onkalo
The user may request to the driver (vb2) to skip the cache maintenance
operations in case the buffer does not need cache synchronisation, e.g. in
cases where the buffer is passed between hardware blocks without it being
touched by the CPU.
Also document that the prepare and fin
The desirable DMA attributes are not generic for all devices using
Videobuf2 contiguous DMA ops. Let the drivers decide.
This change also results in MMAP buffers always having an sg_table
(dma_sgt field).
Also arrange the header files alphabetically.
As a result, also the DMA-BUF exporter must p
The struct vb2_dc_buf contains two struct sg_table fields: sgt_base and
dma_sgt. The former is used by DMA-BUF buffers whereas the latter is used
by USERPTR.
Unify the two, leaving dma_sgt.
MMAP buffers do not need cache flushing since they have been allocated
using dma_alloc_coherent().
Signed-
Rename __qbuf_*() functions which are specific to a buffer type as
__prepare_*() which matches with what they do. The naming was there for
historical reasons; the purpose of the functions was changed without
renaming them.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/videobuf2-core.c
The alloc() and put() ops are for MMAP buffers only. Document it.
Signed-off-by: Sakari Ailus
---
include/media/videobuf2-core.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index a825bd
vb2_dc_get_base_sgt() which obtains the scatterlist already prints
information on why the scatterlist could not be obtained.
Also, remove the useless warning of a failed kmalloc().
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 6 ++
1 file changed, 2 inser
The V4L2_BUF_FLAG_NO_CACHE_INVALIDATE and V4L2_BUF_FLAG_NO_CACHE_CLEAN
buffer flags are currently not used by the kernel. Replace the definitions
by a single V4L2_BUF_FLAG_NO_CACHE_SYNC flag to be used by further
patches.
Different cache architectures should not be visible to the user space
which
The buffer cache should be synchronised in buffer preparation, not when
the buffer is queued to the device. Fix this.
Mmap buffers do not need cache synchronisation since they are always
coherent.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/videobuf2-core.c | 18 +++---
Just move the function up. It'll be soon needed earlier than previously.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 44 +-
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c
The scatterlist should always be present when the cache would need to be
flushed. Each buffer type has its own means to provide that. Add
WARN_ON_ONCE() to check the scatterist exists.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 6 ++
1 file changed, 6 in
The cache synchronisation may be a time consuming operation and thus not
best performed in an interrupt which is a typical context for
vb2_buffer_done() calls. This may consume up to tens of ms on some
machines, depending on the buffer size.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-cor
Em Tue, 08 Sep 2015 00:49:58 +0300
Laurent Pinchart escreveu:
> Hi Hans,
>
> On Friday 21 August 2015 10:07:36 Hans Verkuil wrote:
> > On 08/21/2015 03:02 AM, Laurent Pinchart wrote:
> > > On Wednesday 19 August 2015 08:01:49 Mauro Carvalho Chehab wrote:
> > >> +/* Enums used internally at the m
On Mon, 2015-09-07 at 18:23 +0200, Mian Yousaf Kaukab wrote:
> urb completion callback is executed in host controllers interrupt
> context. To keep preempt disable time short, add urbs to a list on
> completion and schedule work to process the list.
>
> Moreover, save timestamp and sof number in t
Register INTP1 (0x12) Bit POCLKP (bit 0) sets the output clock polarity
of tda10023 . However, the driver tries to set the parallel output mode
in this register which is not correct.
Parallel output mode is set on register INTP2 (0x20) INTPSEL (bit 1/0) .
Drivers affected by this patch are the
Do you need any financial help of getting a loan? Kindly contact us for
more details with the following loan application form below:
Name
Country
loan Amount
Loan duration
Phone Number
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vg
Hi Mauro,
On Mon, Sep 07, 2015 at 10:23:57PM -0300, Mauro Carvalho Chehab wrote:
> Em Tue, 8 Sep 2015 01:18:30 +0300
> Sakari Ailus escreveu:
>
> > Hi Mauro,
> >
> > A few comments below.
>
> Thanks for review!
You're welcome!
> >
> > On Sun, Sep 06, 2015 at 09:03:09AM -0300, Mauro Carvalho
Do you need any financial help of getting a loan? Kindly contact us for
more details with the following loan application form below:
Name
Country
loan Amount
Loan duration
Phone Number
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vg
28 matches
Mail list logo