RE: [RFC PATCH 0/2] davinci: convert to core-assisted locking

2011-01-06 Thread Nori, Sekhar
Hi Mauro, On Thu, Jan 06, 2011 at 12:10:07, Hadli, Manjunath wrote: Tested for SD loopback and other IOCTLS. Reviewed the patches. Patch series Acked by: Manjunath Hadli manjunath.ha...@ti.com Shall I add these two patches as well to the pull request I sent yesterday[1]? These changes

Re: [RFC PATCH 0/2] davinci: convert to core-assisted locking

2011-01-06 Thread Mauro Carvalho Chehab
Em 06-01-2011 08:17, Nori, Sekhar escreveu: Hi Mauro, On Thu, Jan 06, 2011 at 12:10:07, Hadli, Manjunath wrote: Tested for SD loopback and other IOCTLS. Reviewed the patches. Patch series Acked by: Manjunath Hadli manjunath.ha...@ti.com Shall I add these two patches as well to the

[PATCH 1/4] [media] gspca - sonixj: Move bridge init to sd start

2011-01-06 Thread Mauro Carvalho Chehab
Backports changeset 5e68f400aad4e2c29e2531cc4413c459fa88cb62 Signed-off-by: Jean-François Moine moin...@free.fr Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 248c2e6..63f789d 100644 ---

[PATCH 0/4] gspca fix backports for 2.6.36

2011-01-06 Thread Mauro Carvalho Chehab
This patch series backport POWER INV fixes for sonixj sensors. Jean, I'm currently without any sensorj camera. Could you please test this backport? Greg already backported two patches of this series. Those patches should be applied after stable patches he sent yesterday (151/152 and 152/152).

[PATCH 2/4] [media] gspca - sonixj: Add the bit definitions of the bridge reg 0x01 and 0x17

2011-01-06 Thread Mauro Carvalho Chehab
backports changeset 4fd350ee2bf129acb933ad5104bc4754b2c7c9ef Signed-off-by: Jean-François Moine moin...@free.fr Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 63f789d..f8d25570 100644 ---

[PATCH 4/4] [media] gspca - sonixj: Fix a bad probe exchange

2011-01-06 Thread Mauro Carvalho Chehab
backport changeset 4f67f3a Signed-off-by: Jean-François Moine moin...@free.fr Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 7adadd8..6f48b46 100644 --- a/drivers/media/video/gspca/sonixj.c +++

[PATCH 3/4] [media] gspca - sonixj: Better handling of the bridge registers 0x01 and 0x17

2011-01-06 Thread Mauro Carvalho Chehab
Backport changeset 0e4d413af1a9ddd12f82617734eb535007e186a8 The initial values of the registers 0x01 and 0x17 are taken from the sensor table at capture start and updated according to the flag PDN_INV. Their values are updated at each step of the capture initialization and memorized for reuse in

Re: [PATCH 0/4] gspca fix backports for 2.6.36

2011-01-06 Thread Jean-Francois Moine
On Thu, 6 Jan 2011 09:28:36 -0200 Mauro Carvalho Chehab mche...@redhat.com wrote: This patch series backport POWER INV fixes for sonixj sensors. Jean, I'm currently without any sensorj camera. Could you please test this backport? Greg already backported two patches of this series. Those

Memory sharing issue by application on V4L2 based device driver with system mmu.

2011-01-06 Thread InKi Dae
Hello, all. I'd like to discuss memory sharing issue by application on v4l2 based device driver with system mmu and get some advices about that. Now I am working on Samsung SoC C210 platform and this platform has some multimedia devices with system mmu such as fimc, and mfc also we have

Best driver for saa7164 w/ analog

2011-01-06 Thread James Crow
Hello list, I use a HVR-2250 with MythTV. I have been using the beta drivers with analog support from Steven Toth for quite some time. I am now experiencing failed recordings from the second tuner on the card. So far I have not seen any failed analog recordings only failed DVB (ClearQAM). I am

[GIT PATCHES FOR 2.6.38] DaVinci VPIF: Support for DV preset and DV timings and core-assisted locking (v2)

2011-01-06 Thread Nori, Sekhar
Hi Mauro, Here is an updated pull request for DV preset and DV timing support on VPIF as well as core-assisted locking support. All the changes are local to DaVinci VPIF driver. The patches have been reviewed on linux-media and acked by TI developers. Thanks, Sekhar The following changes since

[RFC] Cropping and scaling with subdev pad-level operations

2011-01-06 Thread Laurent Pinchart
Hi everybody, I ran into an issue when implementing cropping and scaling on the OMAP3 ISP resizer sub-device using the pad-level operations. As nobody seems to be happy with the V4L2 crop ioctls, I thought I would ask for comments about the subdev pad-level API to avoid repeating the same

[PATCH] DVB: cx231xx drivers does not use dummy frontend anymore

2011-01-06 Thread Thadeu Lima de Souza Cascardo
Signed-off-by: Thadeu Lima de Souza Cascardo casca...@holoscopio.com --- drivers/media/video/cx231xx/cx231xx-dvb.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/cx231xx/cx231xx-dvb.c b/drivers/media/video/cx231xx/cx231xx-dvb.c index

[PATCH] Corrections to dvb-apps util/scan/dvb-c/de-neftv

2011-01-06 Thread Michael Meier
The scan config for de-neftv seems to be outdated: It is missing some channels, and (more importantly) has incorrect settings for some other channels, as their settings differ a little from the rest [*]. The following patch fixes that (and, at least for me, allows reception on these channels to

[PATCH 2/6] rc/ene_ir: fix oops on module load

2011-01-06 Thread Jarod Wilson
From: Kyle McMartin kmcmar...@redhat.com dev-rdev is accessed in ene_setup_hw_settings, so it needs to be wired up before then. [Jarod Wilson]: Also fix a possible improper resource freeing bug while we're looking at possible probe issues here. Signed-off-by: Kyle McMartin kmcmar...@redhat.com

[PATCH 3/6] rc/imon: need to submit urb before ffdc type check

2011-01-06 Thread Jarod Wilson
Otherwise, we have a null receive buffer, and the logic all falls down, goes boom, all ffdc devs wind up as imon IR w/VFD. Oops. Signed-off-by: Jarod Wilson ja...@redhat.com --- drivers/media/rc/imon.c | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff

[PATCH 4/6] rc/imon: default to key mode instead of mouse mode

2011-01-06 Thread Jarod Wilson
My initial thinking was that we should default to mouse mode, so people could use the mouse function to click on something on a login screen, but a lot of systems where a remote is useful automatically log in a user and launch a media center application, some of which hide the mouse, which can be

[PATCH 5/6] rc: fix up and genericize some time unit conversions

2011-01-06 Thread Jarod Wilson
The ene_ir driver was using a private define of MS_TO_NS, which is meant to be microseconds to nanoseconds. The mceusb driver copied it, intending to use is a milliseconds to microseconds. Lets move the defines to a common location, expand and standardize them a touch, so that we now have:

Re: [PATCH 0/8] Fix V4L/DVB/RC warnings

2011-01-06 Thread Jarod Wilson
On Dec 28, 2010, at 5:18 PM, Andy Walls wrote: On Tue, 2010-12-28 at 12:45 -0200, Mauro Carvalho Chehab wrote: Em 28-12-2010 12:14, Andy Walls escreveu: On Tue, 2010-12-28 at 01:12 -0200, Mauro Carvalho Chehab wrote: Em 27-12-2010 21:55, Andy Walls escreveu: I have hardware for lirc_zilog.

Re: [PATCH 0/4] Remove lirc_i2c driver

2011-01-06 Thread Jarod Wilson
On Dec 30, 2010, at 6:45 AM, Mauro Carvalho Chehab wrote: This series remove lirc_i2c driver. The first patch just adds a note to bttv-input. The next patches add two parsers for two devices that are supported by lirc_i2c, but not by ir-kbd-i2c. The last one finally drops lirc_i2c. Mauro

Re: [RFC/PATCH v7 01/12] media: Media device node support

2011-01-06 Thread Greg KH
On Fri, Dec 24, 2010 at 12:59:38PM +0100, Laurent Pinchart wrote: Hi Greg, Thank you for the review. On Thursday 23 December 2010 04:32:53 Greg KH wrote: On Mon, Dec 20, 2010 at 12:36:24PM +0100, Laurent Pinchart wrote: The media_devnode structure provides support for registering and

Re: Hauppauge HVR-2200 analog

2011-01-06 Thread Julian Scheel
Attached is the diff I currently use. Some more process. Attached is a new patch, which allows me to capture video and audio from a PAL tuner. Imho the video has wrong colours though (using PAL-B). Maybe someone would want to test that patch and give some feedback? Regards, Julian Nur in

Re: [RFC/PATCH v7 01/12] media: Media device node support

2011-01-06 Thread Hans Verkuil
On Thursday, January 06, 2011 23:19:12 Greg KH wrote: snip +static ssize_t media_read(struct file *filp, char __user *buf, + size_t sz, loff_t *off) +{ + struct media_devnode *mdev = media_devnode_data(filp); + + if (!mdev-fops-read) +

Re: [RFC/PATCH v7 01/12] media: Media device node support

2011-01-06 Thread Greg KH
On Fri, Jan 07, 2011 at 12:27:11AM +0100, Hans Verkuil wrote: On Thursday, January 06, 2011 23:19:12 Greg KH wrote: snip +static ssize_t media_read(struct file *filp, char __user *buf, + size_t sz, loff_t *off) +{ + struct media_devnode *mdev =

RE: Memory sharing issue by application on V4L2 based device driver with system mmu.

2011-01-06 Thread Jonghun Han
Hello, There are two reasons why malloc isn't suitable for it. The first is that malloc doesn't allocate memory when malloc is called. So driver or vb2 cannot find PFN for it in the VIDIOC_QBUF. The second is that malloc uses 4KB page allocation. SYS.MMU(IO-MMU) can handle scattered memory.

Re: RFC: V4L2 driver for Qualcomm MSM camera.

2011-01-06 Thread Yupeng Yan
Thanks for the comments - certainly good arguments to our lawyers :-)... actually the information of how to config the ISP HW is requested to be protected for now, we are working on certain degree of openness. The HW config code is just a small part of the user space (daemon) tasks, the user

Re: [RFC/PATCH v7 01/12] media: Media device node support

2011-01-06 Thread Andy Walls
Why, yes, there is a standard: http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_03.html A somewhat verbose description of the errnos is in section 2.3. -Andy Hans Verkuil hverk...@xs4all.nl wrote: On Thursday, January 06, 2011 23:19:12 Greg KH wrote: snip +static

Re: [RFC/PATCH v7 01/12] media: Media device node support

2011-01-06 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Thu, Jan 06, 2011 at 07:24:27PM -0500, Andy Walls wrote: Why, yes, there is a standard: http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_03.html A somewhat verbose

RE: [PATCH 7/9] media: MFC: Add MFC v5.1 V4L2 driver

2011-01-06 Thread Jonghun Han
Hi Kamil, Kamil Debski wrote: Hi, Thanks for the comment. Some of them include my code, which will I comment below. My review also imply Kamil's original patch. snip +#define MFC_NUM_CONTEXTS 4 How about use MFC_NUM_INSTANT instead MFC_NUM_CONTEXTS ? Because too many

Re: [RFC/PATCH v7 01/12] media: Media device node support

2011-01-06 Thread Andy Walls
Yeah well, lame-o default email client on my Android phone. -Andy Greg KH gre...@suse.de wrote: A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Thu, Jan 06, 2011 at 07:24:27PM -0500, Andy Walls wrote: Why, yes, there is a standard:

Re: Memory sharing issue by application on V4L2 based device driver with system mmu.

2011-01-06 Thread InKi Dae
thank you for your comments. your second comment has no any problem as I said before, user virtual addess could be translated in page unit. but the problem, as you said, is that when cpu access to the memory in user mode, the memory allocated by malloc, page fault occurs so we can't find pfn to

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-06 Thread Qing Xu
pass VIDIOC_ENUM_FRAMESIZES down to sub device drivers. So far no special handling in soc-camera core. Signed-off-by: Kassey Lee y...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com --- drivers/media/video/soc_camera.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-)

RE: Memory sharing issue by application on V4L2 based device driver with system mmu.

2011-01-06 Thread Jonghun Han
Hello, That's not a translation issue. What I mention is the size of allocation. The malloc uses 4KB page allocation and SYS.MMU can handle it. But 64KB or 1MB physically contiguous memory is better than 4KB page in the point of performance. Best regards, -Original Message- From:

Re: Memory sharing issue by application on V4L2 based device driver with system mmu.

2011-01-06 Thread daeinki
Hello, Mr. Jonghun. please, note that user process's pgd and device's pgd with system mmu are differnent. first, the memory allocated by user malloc should be mapped to physical memory in page unit because user app also should be accessed to own memory region. and when mapping the physical memory

[PATCH 1/2] [media] Fix mmap() example in the V4L2 API DocBook

2011-01-06 Thread Pawel Osciak
Correct ioctl return value handling and fix coding style issues. Signed-off-by: Pawel Osciak pa...@osciak.com --- Documentation/DocBook/v4l/io.xml | 40 +++--- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Documentation/DocBook/v4l/io.xml

[PATCH v2] [media] Add multi-planar API documentation

2011-01-06 Thread Pawel Osciak
Add DocBook documentation for the new multi-planar API extensions to the Video for Linux 2 API DocBook. Signed-off-by: Pawel Osciak pa...@osciak.com --- Documentation/DocBook/media-entities.tmpl |4 + Documentation/DocBook/v4l/common.xml |2 +

Re: [PATCH 1/2] [media] Fix mmap() example in the V4L2 API DocBook

2011-01-06 Thread Pawel Osciak
On Thu, Jan 6, 2011 at 20:40, Pawel Osciak pa...@osciak.com wrote: Correct ioctl return value handling and fix coding style issues. Signed-off-by: Pawel Osciak pa...@osciak.com ---  Documentation/DocBook/v4l/io.xml |   40 +++---  1 files changed, 20