From: Hans Verkuil
Signed-off-by: Hans Verkuil
---
drivers/media/platform/mem2mem_testdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/mem2mem_testdev.c
b/drivers/media/platform/mem2mem_testdev.c
index c1b03cf..9ee80cd 100644
--- a/drivers/media/platform/mem2mem
From: Hans Verkuil
Document that drivers can access/modify the buffer contents in buf_prepare
and buf_finish. That was not clearly stated before.
Signed-off-by: Hans Verkuil
---
include/media/videobuf2-core.h | 32 +---
1 file changed, 17 insertions(+), 15 deletions
Changes since v2:
- Dropped buf_prepare/finish_for_cpu: buf_prepare/finish are already
suitable for CPU access (but see discussion on dmabuf imports below)
- Moved dma_map_sg to buf_init as suggested by Laurent and others. This
made it possible to drop the whole 'new_cookies' handling that I h
From: Hans Verkuil
Add support for dmabuf to vb2-dma-sg.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-sg.c | 126 +++--
1 file changed, 119 insertions(+), 7 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-sg.c
b/drivers/media/v
From: Hans Verkuil
The 'write' argument is very ambiguous. I first assumed that if it is 1,
then we're doing video output but instead it meant the reverse.
Since it is used to setup the dma_dir value anyway it is now replaced by
the correct dma_dir value which is unambiguous.
Signed-off-by: Han
From: Hans Verkuil
Add DMABUF export support to vb2-dma-sg.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-sg.c | 170 +
1 file changed, 170 insertions(+)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-sg.c
b/drivers/media/v4l2-core/vide
From: Hans Verkuil
This moves dma_(un)map_sg to the get_userptr/put_userptr and alloc/put
memops of videobuf2-dma-sg.c and adds dma_sync_sg_for_device/cpu to the
prepare/finish memops.
Now that vb2-dma-sg will sync the buffers for you in the prepare/finish
memops we can drop that from the driver
From: Hans Verkuil
The driver might touch the data after mapping in buf_prepare, so make sure it
is synced for cpu.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-con
From: Hans Verkuil
Add support for DMABUF exporting to the vb2-vmalloc implementation.
All memory models now have support for both importing and exporting of DMABUFs.
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-vmalloc.c | 174
1 file changed
From: Hans Verkuil
Require that dma-sg also uses an allocation context. This is in preparation
for adding prepare/finish memops to sync the memory between DMA and CPU.
Signed-off-by: Hans Verkuil
---
drivers/media/pci/cx23885/cx23885-417.c | 1 +
drivers/media/pci/cx23885/cx23885-core
From: Hans Verkuil
Now that vb2 supports DMABUF export for dma-sg and vmalloc memory
modes, we can enable the vb2_expbuf support in vivid.
Signed-off-by: Hans Verkuil
---
drivers/media/platform/vivid/vivid-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media
Hi Andrew,
On Friday 10 October 2014 17:55:54 Andrew Klofas wrote:
> Greetings,
>
> I am new to the linux kernel community (first time contacting anyone), so I
> apologize if I am not doing this the proper way.
No worries. You should have CC'ed the linux-media@vger.kernel.org mailing
list, whic
Hi John,
On Friday 10 October 2014 20:41:12 John Crispin wrote:
> The following patch adds the usb ids for the iPassion chip. This chip is
> found on D-Link DIR-930 IP cameras. For them to work this patch needs to be
> applied. I am almost certain that this is the incorrect fix. Could someone
> sh
On Fri, 10 Oct 2014 12:09:12 +0200
JPT wrote:
> Hi Patrick,
>
> Am 09.10.2014 um 17:26 schrieb Patrick Boettcher:
> > Hi Jan,
> >
> >> What exactly do the i2c-errors mean?
> >
> > I can't tell you exactly what happens in the device, but I can tell
> > you that I have the same problem with my
The recent discussion [1] on the API have resulted in moving away from
device_control ioctl method to proper channel APIs.
There are still few users on the device_control which should use the wrappers
existing rather than access device_control.
This will aid us in deprecating and removing device_co
The drivers should use dmaengine_pause() API instead of
accessing the device_control which will be deprecated soon
Signed-off-by: Vinod Koul
---
drivers/media/platform/soc_camera/mx3_camera.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/media/platform/soc
Hi Hans,
On Friday 10 October 2014 10:04:58 Hans Verkuil wrote:
> (This patch is from Divneil except for the vivid changes which I added. He
> had difficulties posting the patch without the mailer mangling it, so I'm
> reposting it for him)
>
> - vb2 drivers to rely on VB2_MAX_FRAME.
>
> - VB2_M
On Fri, Oct 10, 2014 at 04:09:00PM -0700, Greg Kroah-Hartman wrote:
> On Sat, Oct 11, 2014 at 01:37:56AM +0530, Sumit Semwal wrote:
> > Devices sharing buffers using dma-buf could benefit from sharing their
> > constraints via struct device, and dma-buf framework would manage the
> > common constra
On Sat, Oct 11, 2014 at 01:37:55AM +0530, Sumit Semwal wrote:
> At present, struct device lacks a mechanism of exposing memory
> access constraints for the device.
>
> Consequently, there is also no mechanism to share these constraints
> while sharing buffers using dma-buf.
>
> If we add support
Dear Sir/Madam, Here is a pdf attachment of my proposal to you. Please
read and reply I would be grateful. Jose Calvache
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/ma
Hi Laurent,
On 10/11/2014 07:21 PM, Laurent Pinchart wrote:
Hi Hans,
On Friday 10 October 2014 10:04:58 Hans Verkuil wrote:
(This patch is from Divneil except for the vivid changes which I added. He
had difficulties posting the patch without the mailer mangling it, so I'm
reposting it for him)
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: Sun Oct 12 04:00:23 CEST 2014
git branch: test
git hash: cf3167cf1e969b17671a4d3d956d22718a8ceb85
gcc versi
22 matches
Mail list logo