Re: [PATCH 3/8] [RESEND] saa7146: Variable set but not used

2012-06-14 Thread Michael Hunold
Hello Hans, on 15.06.2012 08:24 Hans Verkuil said the following: > On 15/06/12 08:02, Michael Hunold wrote: >> A few lines below "fh" is allocated and "fh->type" is set to "type". >> Simply removing "type" will result in a compilation error IMO, so I >> wonder if your compile-test really worked.

Re: [PATCH 3/8] [RESEND] saa7146: Variable set but not used

2012-06-14 Thread Hans Verkuil
On 15/06/12 08:02, Michael Hunold wrote: Hello Peter, on 14.06.2012 19:58 Peter Senna Tschudin said the following: In function fops_open variable type was set but not used. thanks for your patch, but I think it does not work. Tested by compilation only. Signed-off-by: Peter Senna Tschudin

Re: [PATCH 3/8] [RESEND] saa7146: Variable set but not used

2012-06-14 Thread Michael Hunold
Hello Peter, on 14.06.2012 19:58 Peter Senna Tschudin said the following: > In function fops_open variable type was set but not used. thanks for your patch, but I think it does not work. > Tested by compilation only. > > Signed-off-by: Peter Senna Tschudin > --- > drivers/media/common/saa7146

pctv hd pci 800i card problem: cx88-dvb does not insert

2012-06-14 Thread Mack Stanley
Dear v4l-dvb experts, I'm stuck trying to get a hybrid tv card that seems to be well supported working. The box is labeled simply pctv hd card 800i; Newegg sells it as Hauppauge pctv pci 800i; Linuxtv has a setup page for it as a Pinnacle card (http://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_

Re: Patches

2012-06-14 Thread Rodney Baker
On Fri, 15 Jun 2012 03:42:14 Peter Senna Tschudin wrote: > Dear Mauro, > > I've just send some patches. Some are being sent again just to group > my patches. The cx231xx patch was resent because I forgot to CC the > maintainers of the patch. For the pvrusb2, I've grouped four commits > into one. >

Re: DVB streaming failed after running tzap

2012-06-14 Thread Bruce Ying
To avoid misunderstanding, I'd like to rephrase the passage below: > SVN-r35003-4.5.2); however, if I ran tzap before launching mplayer, > then I would get a series of "dvb_streaming_read, attempt N. 6 failed > with errno 0 when reading 2048 bytes" failure messages. Then I must > unplug the DiBcom

Re: Patches

2012-06-14 Thread Peter Senna Tschudin
Hello Randy, >> ./scripts/get_maintainer.pl  -f drivers/media/video/cx231xx/ > Mauro Carvalho Chehab (maintainer:MEDIA INPUT > INFRA...,commit_signer:23/24=96%) > Devin Heitmueller (commit_signer:4/24=17%) > Hans Verkuil (commit_signer:4/24=17%) > Thomas Petazzoni > (commit_signer:4/24=17%)

Webcam Genius 1300[AF] V2 not working since kernel 2.6.39

2012-06-14 Thread Shubhadeep Chaudhuri
The webcams Genius 1300 V2 and Genius 1300AF V2 (and probably some built-in MacBook iSight webcams) face an issue since v2.6.39. For versions before that, they work fine. Every application displays a black screen for the devices except for mplayer which displays a green screen. Output of lsusb -v

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Malcolm Priestley
On Fri, 2012-06-15 at 02:14 +0300, Antti Palosaari wrote: > Hi Malcolm, > > Are you fine now with these two patches and no further changes are needed? > > http://git.linuxtv.org/anttip/media_tree.git/commit/2ced3f3b5763b4817c5a884b0980a9a7c87e4d96 > > http://git.linuxtv.org/anttip/media_tree.gi

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Antti Palosaari
On 06/15/2012 01:32 AM, Malcolm Priestley wrote: On Fri, 2012-06-15 at 01:12 +0300, Antti Palosaari wrote: On 06/15/2012 12:33 AM, Malcolm Priestley wrote: On Thu, 2012-06-14 at 23:31 +0300, Antti Palosaari wrote: On 06/14/2012 04:15 AM, Antti Palosaari wrote: On 06/14/2012 03:44 AM, Malcolm

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Malcolm Priestley
On Fri, 2012-06-15 at 01:12 +0300, Antti Palosaari wrote: > On 06/15/2012 12:33 AM, Malcolm Priestley wrote: > > On Thu, 2012-06-14 at 23:31 +0300, Antti Palosaari wrote: > >> On 06/14/2012 04:15 AM, Antti Palosaari wrote: > >>> On 06/14/2012 03:44 AM, Malcolm Priestley wrote: > On Thu, 2012-0

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Antti Palosaari
On 06/15/2012 12:33 AM, Malcolm Priestley wrote: On Thu, 2012-06-14 at 23:31 +0300, Antti Palosaari wrote: On 06/14/2012 04:15 AM, Antti Palosaari wrote: On 06/14/2012 03:44 AM, Malcolm Priestley wrote: On Thu, 2012-06-14 at 02:29 +0300, Antti Palosaari wrote: Hi Malcolm, I was really surpris

Re: Patches

2012-06-14 Thread Randy Dunlap
On 06/14/2012 11:12 AM, Peter Senna Tschudin wrote: > Dear Mauro, > > I've just send some patches. Some are being sent again just to group > my patches. The cx231xx patch was resent because I forgot to CC the > maintainers of the patch. For the pvrusb2, I've grouped four commits > into one. > >

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Malcolm Priestley
On Thu, 2012-06-14 at 23:31 +0300, Antti Palosaari wrote: > On 06/14/2012 04:15 AM, Antti Palosaari wrote: > > On 06/14/2012 03:44 AM, Malcolm Priestley wrote: > >> On Thu, 2012-06-14 at 02:29 +0300, Antti Palosaari wrote: > >>> Hi Malcolm, > >>> I was really surprised someone has had interest to t

[PATCH RFC 07/10] [media] b2c2: break it into common/pci/usb directories

2012-06-14 Thread Mauro Carvalho Chehab
b2c2 is, in fact, 2 drivers: one for PCI and one for USB, plus a common bus-independent code. Break it accordingly. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig |4 +- drivers/media/common/Kconfig |2 + drivers/media/co

[PATCH RFC 10/10] [media] break siano into mmc and usb directories

2012-06-14 Thread Mauro Carvalho Chehab
siano is, in fact, 2 drivers: one for MMC and one for USB, plus a common bus-independent code. Break it accordingly. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig|1 + drivers/media/Makefile |2 +- drivers/media/commo

[PATCH RFC 06/10] [media] Rename media/dvb as media/pci

2012-06-14 Thread Mauro Carvalho Chehab
The remaining dvb drivers are pci, so rename them to match the bus. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/media/dvb/kdapi.xml|2 +- drivers/media/Kconfig|2 +- drivers/media/Makefile |2

[PATCH RFC 05/10] [media] dvb-usb: move it to drivers/media/usb/dvb-usb

2012-06-14 Thread Mauro Carvalho Chehab
As media/dvb will be removed, move it to a proper place. Signed-off-by: Mauro Carvalho Chehab --- Documentation/dvb/README.dvb-usb |2 +- drivers/media/Kconfig |1 + drivers/media/Makefile|2 +- driv

[PATCH RFC 09/10] [media] saa7146: Move it to its own directory

2012-06-14 Thread Mauro Carvalho Chehab
In order to better organize the directory tree, move the saa7146 common driver to its own directory. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/common/Kconfig | 11 +-- drivers/media/common/Makefile |7 +-- drivers/media/co

[PATCH RFC 08/10] [media] common: move media/common/tuners to media/tuners

2012-06-14 Thread Mauro Carvalho Chehab
Move the tuners one level up, as the "common" directory will be used by drivers that are shared between more than one driver. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS|4 ++-- drivers/media/Kconfig |2

[PATCH RFC 01/10] [media] v4l: move v4l2 core into a separate directory

2012-06-14 Thread Mauro Carvalho Chehab
Currently, the v4l2 core is mixed together with other non-core drivers. Move them into a separate directory. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig |1 + drivers/media/Makefile |2 +- drivers/media/v4l2-core

[PATCH RFC 02/10] [media] dvb: move the dvb core one level up

2012-06-14 Thread Mauro Carvalho Chehab
just like the V4L2 core, move the DVB core to drivers/media, as the intention is to get rid of both "video" and "dvb" directories. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig |1 + drivers/media/Makefile|2 +- dri

[PATCH RFC 04/10] [media] firewire: move it one level up

2012-06-14 Thread Mauro Carvalho Chehab
Move firewire to one level up, as the dvb subdirectory will be removed. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig |6 +- drivers/media/Makefile |1 + drivers/media/dvb/Kconfig |4 driv

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Antti Palosaari
On 06/14/2012 04:15 AM, Antti Palosaari wrote: On 06/14/2012 03:44 AM, Malcolm Priestley wrote: On Thu, 2012-06-14 at 02:29 +0300, Antti Palosaari wrote: Hi Malcolm, I was really surprised someone has had interest to test that stuff at that phase as I did not even advertised it yet :) It is lik

stv090x: possible bug with 8psk,fec=5/6

2012-06-14 Thread N. D.
I own a Skystar USB HD which I use with vdr. Ever since I bought the card I have been having some strange issues with 11817V on Astra 23.5E. Femon reports that there is a lock and sound comes but the image is completely garbled. The same setup (Kernel: 3.3.8, VDR: 1.7.27) works fine with an HVR-

Re: [PATCH 5/8] nuvoton-cir: Code cleanup: remove unused variable and function

2012-06-14 Thread Ben Hutchings
On Thu, Jun 14, 2012 at 02:58:13PM -0300, Peter Senna Tschudin wrote: > Tested by compilation only. [...] I can't say whether this is correct since I never used the driver either, but the function you remove is reading registers so it may have important side-effects. Ben. -- Ben Hutchings We ge

Re: [PATCH V7 0/5] [Media] Radio: Fixes and New features for FM

2012-06-14 Thread halli manjunatha
Hi Mauro, Please pull these patches to K3.6, these patches are reviewed and Acked-By Hans. Regards Manju On Mon, May 21, 2012 at 12:12 PM, wrote: > From: Manjunatha Halli > > Mauro and the list, > > This version 7 of patchset resolves the comments received from > Han's on patchset v6. Also re

[PATCH 8/8] s5h1420: Unused variable clock_setting

2012-06-14 Thread Peter Senna Tschudin
The switch/case was setting clock_setting that is not being used. Both switch/case and the variable definition were removed. Currently clock is being calculated by the formula: (state->fclk/100 - 8) Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/dvb/fron

[PATCH 7/8] stv090x: variable 'no_signal' set but not used

2012-06-14 Thread Peter Senna Tschudin
Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/dvb/frontends/stv090x.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c index d79e69f..d229dba 100644 ---

[PATCH 6/8] stv0367: variable 'tps_rcvd' set but not used

2012-06-14 Thread Peter Senna Tschudin
Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/dvb/frontends/stv0367.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/dvb/frontends/stv0367.c b/drivers/media/dvb/frontends/stv0367.c index fdd20c7..2a8aaeb 100644 --- a/

[PATCH 5/8] nuvoton-cir: Code cleanup: remove unused variable and function

2012-06-14 Thread Peter Senna Tschudin
Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/rc/nuvoton-cir.c | 37 - 1 file changed, 37 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c index dc8a7dd..0e8052f 100644 --- a/drive

[PATCH 4/8] [RESEND] saa7164: Variable set but not used

2012-06-14 Thread Peter Senna Tschudin
In function saa7164_api_i2c_read variable regval was set but not used. Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/video/saa7164/saa7164-api.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/media/video/saa7164/saa7164-api.c b/

[PATCH 3/8] [RESEND] saa7146: Variable set but not used

2012-06-14 Thread Peter Senna Tschudin
In function fops_open variable type was set but not used. Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/common/saa7146_fops.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/media/common/saa7146_fops.c b/drivers/media/common/saa7146_fops.c

cron job: media_tree daily build: WARNINGS

2012-06-14 Thread Hans Verkuil
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 Jun 14 19:00:17 CEST 2012 git hash:5472d3f17845c4398c6a510b46855820920c2181 gcc version: i686-linux-gcc (GC

[PATCH 2/8] [RESEND] pvrusb2: Variables set but not used

2012-06-14 Thread Peter Senna Tschudin
Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/video/pvrusb2/pvrusb2-v4l2.c |8 1 file changed, 8 deletions(-) diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index 7bddfae..cbe4080 100644 ---

[PATCH 1/8] [RESEND] cx231xx: Paranoic stack memory save

2012-06-14 Thread Peter Senna Tschudin
Saves 255 bytes of stack memory on cx231xx_usb_probe() by removing a char array. Tested by compilation only. Signed-off-by: Peter Senna Tschudin --- drivers/media/video/cx231xx/cx231xx-cards.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/media

[PATCHv2 5/9] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-06-14 Thread Tomasz Stanislawski
This patch adds support for exporting a dma-contig buffer using DMABUF interface. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 248 1 file changed, 248 insertions(+) diff --git a/drivers/media/vid

[PATCHv2 2/9] Documentation: media: description of DMABUF exporting in V4L2

2012-06-14 Thread Tomasz Stanislawski
This patch adds description and usage examples for exporting DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml|3 + Documentation/DocBook/media/v4l/io.xml

[PATCHv2 8/9] v4l: s5p-mfc: support for dmabuf exporting

2012-06-14 Thread Tomasz Stanislawski
This patch enhances s5p-mfc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park CC: Kamil Debski --- drivers/media/video/s5p-mfc/s5p_mfc_dec.c | 18 ++ drivers/media/video/s5p-mfc/s5p_mfc_enc.c | 18

[PATCHv2 9/9] v4l: vb2-dma-contig: use dma_get_sgtable

2012-06-14 Thread Tomasz Stanislawski
This patch removes a workaround for extraction of struct pages from DMA buffer. The method of using follow_pfn for artificial VMA is dropped in favour of dma_get_sgtable function. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c |

[PATCHv2 7/9] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-06-14 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/media/video/s5p-tv/mixer_v

[PATCHv2 0/9] Support for dmabuf exporting for videobuf2

2012-06-14 Thread Tomasz Stanislawski
Hello everyone, The patches adds support for DMABUF exporting to V4L2 stack. The latest support for DMABUF importing was posted in [1]. The exporter part is dependant on DMA mapping redesign [2] which is expected to be merged into the mainline. Therefore it is posted as a separate patchset. Moreov

[PATCHv2 4/9] v4l: vb2: add buffer exporting via dmabuf

2012-06-14 Thread Tomasz Stanislawski
This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Acked-by: Laurent Pinchart --- drivers/media/video/videobuf2-core.c | 67 ++ include/media/video

[PATCHv2 1/9] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-06-14 Thread Tomasz Stanislawski
From: Marek Szyprowski Let mmap method to use dma_mmap_coherent call. This patch depends on DMA mapping redesign patches because the usage of dma_mmap_coherent breaks dma-contig allocator for architectures other than ARM and AVR. Moreover, this patch removes vb2_mmap_pfn_range from videobuf2 he

[PATCHv2 6/9] v4l: s5p-fimc: support for dmabuf exporting

2012-06-14 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-fimc/fimc-capture.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/video/s5p-fimc/fi

[PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-06-14 Thread Tomasz Stanislawski
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by mmap and return a file descriptor on success. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/v4

[PATCH 2/4] radio-si470x: Always use interrupt to wait for tune/seek completion

2012-06-14 Thread Hans de Goede
Since USB receives STATUS_RSSI updates through the interrupt endpoint, there is no need to poll with USB, so get rid of the polling. Note this also changes the order in which the probing of USB devices is done, to avoid si470x_set_chan getting called before the interrupt endpoint is being monitore

[PATCH 4/4] radio-si470x: Lower firmware version requirements

2012-06-14 Thread Hans de Goede
With the changes from the previous patches device firmware version 14 + usb microcontroller software version 1 works fine too. Signed-off-by: Hans de Goede --- drivers/media/radio/si470x/radio-si470x-usb.c |2 +- drivers/media/radio/si470x/radio-si470x.h |2 +- 2 files changed, 2 ins

[PATCH 3/4] radio-si470x: Lower hardware freq seek signal treshold

2012-06-14 Thread Hans de Goede
The previous value made hardware freq seek not work for me, despite having good reception of almost all Dutch radio stations. Signed-off-by: Hans de Goede --- drivers/media/radio/si470x/radio-si470x-common.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rad

[PATCH 1/4] radio-si470x: Don't unnecesarily read registers on G_TUNER

2012-06-14 Thread Hans de Goede
Reading registers from the pcear USB dongles with the si470x causes a loud pop (and an alsa buffer overrun). Since most radio apps periodically call G_TUNER to update mono/stereo, signal and afc status this leads to the music . pop . music . pop . music -> not good. On the internet there is an how

[PATCHv7 02/15] Documentation: media: description of DMABUF importing in V4L2

2012-06-14 Thread Tomasz Stanislawski
This patch adds description and usage examples for importing DMABUF file descriptor in V4L2. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park CC: linux-...@vger.kernel.org --- Documentation/DocBook/media/v4l/compat.xml |4 + Documentation/DocBook/media/v4l/io.xml

[PATCHv7 06/15] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-06-14 Thread Tomasz Stanislawski
This patch removes a reference to alloc_ctx from an instance of a DMA contiguous buffer. It helps to avoid a risk of a dangling pointer if the context is released while the buffer is still valid. Moreover it removes one dereference step while accessing a device structure. Signed-off-by: Tomasz Sta

[PATCHv7 01/15] v4l: Add DMABUF as a memory type

2012-06-14 Thread Tomasz Stanislawski
From: Sumit Semwal Adds DMABUF memory type to v4l framework. Also adds the related file descriptor in v4l2_plane and v4l2_buffer. Signed-off-by: Tomasz Stanislawski [original work in the PoC for buffer sharing] Signed-off-by: Sumit Semwal Signed-off-by: Sumit Semwal Acked-by: Laurent Pinch

[PATCHv7 03/15] v4l: vb2: add support for shared buffer (dma_buf)

2012-06-14 Thread Tomasz Stanislawski
From: Sumit Semwal This patch adds support for DMABUF memory type in videobuf2. It calls relevant APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations. For this version, the support is for videobuf2 as a user of the shared buffer; so the allocation of the buffer is done outside of V4L2. [A s

[PATCHv7 08/15] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-06-14 Thread Tomasz Stanislawski
This patch introduces usage of dma_map_sg to map memory behind a userspace pointer to a device as dma-contiguous mapping. This patch contains some of the code kindly provided by Marek Szyprowski and Kamil Debski and Andrzej Pietrasiewicz . Kind thanks for bug reports from Laurent Pinchart and S

[PATCHv7 05/15] v4l: vb2-dma-contig: Shorten vb2_dma_contig prefix to vb2_dc

2012-06-14 Thread Tomasz Stanislawski
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/media/video/videobuf2-dma-contig.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/media/video/videobuf2-dma-contig.c b/drivers/media/video/videobuf2-dma-contig.c ind

[PATCHv7 15/15] v4l: s5p-fimc: support for dmabuf importing

2012-06-14 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF importing via V4L2_MEMORY_DMABUF memory type. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Acked-by: Sylwester Nawrocki --- drivers/media/video/s5p-fimc/Kconfig|1 + drivers/media/video/s5p-fimc/fimc-capture.c

[PATCHv7 12/15] v4l: vb2-vmalloc: add support for dmabuf importing

2012-06-14 Thread Tomasz Stanislawski
This patch adds support for importing DMABUF files for vmalloc allocator in Videobuf2. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-vmalloc.c | 56 +++ 1 file changed, 56 insertions(+) diff --git a/drivers/media

[PATCHv7 07/15] v4l: vb2-dma-contig: Reorder functions

2012-06-14 Thread Tomasz Stanislawski
From: Laurent Pinchart Group functions by buffer type. Signed-off-by: Laurent Pinchart --- drivers/media/video/videobuf2-dma-contig.c | 92 1 file changed, 54 insertions(+), 38 deletions(-) diff --git a/drivers/media/video/videobuf2-dma-contig.c b/drivers/media

[PATCHv7 13/15] v4l: vivi: support for dmabuf importing

2012-06-14 Thread Tomasz Stanislawski
This patch enhances VIVI driver with a support for importing a buffer from DMABUF file descriptors. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/Kconfig |1 + drivers/media/video/vivi.c |2 +- 2 files changed, 2 insertions(+), 1 deletion(-) d

[PATCHv7 14/15] v4l: s5p-tv: mixer: support for dmabuf importing

2012-06-14 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF importing via V4L2_MEMORY_DMABUF memory type. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-tv/Kconfig |1 + drivers/media/video/s5p-tv/mixer_video.c |2 +- 2 files changed, 2 insertio

[PATCHv7 10/15] v4l: vb2-dma-contig: add prepare/finish to dma-contig allocator

2012-06-14 Thread Tomasz Stanislawski
From: Marek Szyprowski Add prepare/finish callbacks to vb2-dma-contig allocator. Signed-off-by: Marek Szyprowski --- drivers/media/video/videobuf2-dma-contig.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/media/video/videobuf2-dma-contig.c b/drivers/

[PATCHv7 11/15] v4l: vb2-dma-contig: add support for dma_buf importing

2012-06-14 Thread Tomasz Stanislawski
From: Sumit Semwal This patch makes changes for adding dma-contig as a dma_buf user. It provides function implementations for the {attach, detach, map, unmap}_dmabuf() mem_ops of DMABUF memory type. Signed-off-by: Sumit Semwal Signed-off-by: Sumit Semwal [author of the original patch]

[PATCHv7 09/15] v4l: vb2: add prepare/finish callbacks to allocators

2012-06-14 Thread Tomasz Stanislawski
From: Marek Szyprowski This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski Acked-by: Laurent Pinchart --- drivers/media/video/videobuf2-core.c | 11 +++ include/media/videobuf2-core.h

[PATCHv7 04/15] v4l: vb: remove warnings about MEMORY_DMABUF

2012-06-14 Thread Tomasz Stanislawski
From: Sumit Semwal Adding DMABUF memory type causes videobuf to complain about not using it in some switch cases. This patch removes these warnings. Signed-off-by: Sumit Semwal Acked-by: Laurent Pinchart --- drivers/media/video/videobuf-core.c |4 1 file changed, 4 insertions(+) dif

[PATCHv7 00/15] Integration of videobuf2 with dmabuf

2012-06-14 Thread Tomasz Stanislawski
Hello everyone, This patchset adds support for DMABUF [2] importing to V4L2 stack. The support for DMABUF exporting was moved to separate patchset due to dependency on patches for DMA mapping redesign by Marek Szyprowski [4]. This patchset depends on new scatterlist constructor [5]. v7: - support

[PATCH v4] scatterlist: add sg_alloc_table_from_pages function

2012-06-14 Thread Tomasz Stanislawski
This patch adds a new constructor for an sg table. The table is constructed from an array of struct pages. All contiguous chunks of the pages are merged into a single sg nodes. A user may provide an offset and a size of a buffer if the buffer is not page-aligned. The function is dedicated for DMAB

RE: [PATCH] v4l/s5p-mfc: corrected encoder v4l control definitions

2012-06-14 Thread Kamil Debski
Hi Andrzej, Thank you for the patch. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland R&D Center > -Original Message- > From: Andrzej Hajda [mailto:a.ha...@samsung.com] > Sent: 14 June 2012 09:04 > To: linux-media@vger.kernel.org > Cc: Hans Verkuil; Marek Szyprowski; Kam

RE: [PATCH] v4l/s5p-mfc: added image size align in VIDIOC_TRY_FMT

2012-06-14 Thread Kamil Debski
Hi Andrzej, Thank you for the patch. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland R&D Center > -Original Message- > From: Andrzej Hajda [mailto:a.ha...@samsung.com] > Sent: 14 June 2012 09:11 > To: linux-media@vger.kernel.org > Cc: Hans Verkuil; Marek Szyprowski; Ka

[PATCH] v4l/s5p-mfc: added image size align in VIDIOC_TRY_FMT

2012-06-14 Thread Andrzej Hajda
Image size for MFC encoder should have size between 8x4 and 1920x1080 with even width and height. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-mfc/s5p_mfc_enc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video

[PATCH] v4l/s5p-mfc: corrected encoder v4l control definitions

2012-06-14 Thread Andrzej Hajda
Patch corrects definition of H264 level control and changes bare numbers to enums in two other cases. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-mfc/s5p_mfc_enc.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers