Re: Question about implementation of __qbuf_dmabuf() in videobuf2-core.c

2014-04-23 Thread Hans Verkuil
On 04/23/2014 02:18 AM, n179911 wrote: In __qbuf_dmabuf(), it check the length and size of the buffer being queued, like this: http://lxr.free-electrons.com/source/drivers/media/v4l2-core/videobuf2-core.c#L1158 My question is why the range check is liked this: 1158 if

[RFC PATCH 2/2 with seqcount v3] reservation: add suppport for read-only access using rcu

2014-04-23 Thread Maarten Lankhorst
This adds 4 more functions to deal with rcu. reservation_object_get_fences_rcu() will obtain the list of shared and exclusive fences without obtaining the ww_mutex. reservation_object_wait_timeout_rcu() will wait on all fences of the reservation_object, without obtaining the ww_mutex.

[GIT PULL for v3.16] smiapp: small fixes and cleanups

2014-04-23 Thread Sakari Ailus
Hi, This patchset contains small cleanups and fixes to the smiapp driver from the patchset smiapp and smiapp-pll quirk improvements, fixes. I'm sending just the driver patches now; the PLL patches are still pending. The PLL patches are dependent on the patches in this pull request. The following

[PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-23 Thread Arun Kumar K
From: Kiran AVND avnd.ki...@samsung.com This patch adds variant data and core support for V8 decoder. This patch also adds the register definition file for new firmware version v8 for MFC. Signed-off-by: Kiran AVND avnd.ki...@samsung.com Signed-off-by: Pawel Osciak posc...@chromium.org

[PATCH 3/3] [media] s5p-mfc: Rename IS_MFCV7 macro

2014-04-23 Thread Arun Kumar K
With the inclusion of MFCv8 which reuses the v7 code, the macro IS_MFCV7 is modified to IS_MFCV7_PLUS. Signed-off-by: Arun Kumar K arun...@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |2 +- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c|2 +-

[PATCH 0/3] Add MFCv8 support

2014-04-23 Thread Arun Kumar K
This patchset adds MFCv8 support to the s5p-mfc driver. MFCv8 has the same operation sequence as that of v6+, but there is some shuffling of the registers happened. So to re-use the exisiting code, register access uses context variables instead of macros. The patchset modifies opr_v6 file to use

[PATCH] Documentation: Update cardlists

2014-04-23 Thread Mauro Carvalho Chehab
Two new devices were added, but the cardlists weren't updated. Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com --- Documentation/video4linux/CARDLIST.bttv | 1 + Documentation/video4linux/CARDLIST.em28xx | 1 + 2 files changed, 2 insertions(+) diff --git

Re: [GIT PULL 3.16] 2013:025f PCTV tripleStick (292e)

2014-04-23 Thread Mauro Carvalho Chehab
Em Wed, 23 Apr 2014 05:13:27 +0300 Antti Palosaari cr...@iki.fi escreveu: Hardware is Empia EM28178, Silicon Labs Si2168, Silicon Labs Si2157. There is on/off external LNA too. Two new drivers for Silicon Labs DTV chipset. Demod needs firmware, which could be found from driver CD version

Re: [PATCH ] fix mceusb endpoint type identification/handling

2014-04-23 Thread Sean Young
On Tue, Apr 22, 2014 at 05:49:03PM -0500, Matt DeVillier wrote: From: Matt DeVillier matt.devill...@gmail.com Change the I/O endpoint handling of the mceusb driver to respect the endpoint type reported by device (bulk/interrupt), rather than treating all endpoints as type interrupt, which

[GIT PULL FOR v3.16] saa7134 fixes and vb2 conversion

2014-04-23 Thread Hans Verkuil
Hi Mauro, I have attempted to split up the saa7134 vb2 conversion a bit more, but I don't see how I can reduce it further, except by disabling parts of the driver, then converting each part and enabling it again (i.e., disable dvb empress, convert just video/vbi to vb2, then empress, then dvb).

[PATCH] v4l2-pci-skeleton: fix typo

2014-04-23 Thread Hans Verkuil
Signed-off-by: Hans Verkuil hans.verk...@cisco.com diff --git a/Documentation/video4linux/v4l2-pci-skeleton.c b/Documentation/video4linux/v4l2-pci-skeleton.c index 53dd346..46904fe 100644 --- a/Documentation/video4linux/v4l2-pci-skeleton.c +++ b/Documentation/video4linux/v4l2-pci-skeleton.c @@

[PATCH v2] fix mceusb endpoint type identification/handling

2014-04-23 Thread Matt DeVillier
From: Matt DeVillier matt.devill...@gmail.com Change the I/O endpoint handling of the mceusb driver to respect the endpoint type reported by device (bulk/interrupt), rather than treating all endpoints as type interrupt, which breaks devices using bulk endpoints when connected to a xhci

Re: [PATCH/RFC v3 5/5] media: Add registration helpers for V4L2 flash sub-devices

2014-04-23 Thread Sakari Ailus
Hi Jacek, On Thu, Apr 17, 2014 at 10:26:44AM +0200, Jacek Anaszewski wrote: Hi Sakari, Thanks for the review. On 04/16/2014 08:21 PM, Sakari Ailus wrote: Hi Jacek, Thanks for the update! [...] +static inline enum led_brightness v4l2_flash_intensity_to_led_brightness( +

Comparisons of images between Dazzle DVC100, EasyCap stk1160 and Hauppauge ImapctVCB-e in Linux.

2014-04-23 Thread Steve Cookson
Hi Guys, I would be interested in your views of the comparisons of these images. The still is the image of a duodenum taken during an endoscopy and recorded to a DVD player (via an s-video or composite cable). Although the endoscope is an HD endoscope, the DVD recorder isn't and the

Re: [PATCH/RFC v3 3/5] leds: Add support for max77693 mfd flash cell

2014-04-23 Thread Sakari Ailus
Hi Jacek, Thanks for the answers to my comments! :-) On Thu, Apr 17, 2014 at 11:23:06AM +0200, Jacek Anaszewski wrote: On 04/16/2014 07:26 PM, Sakari Ailus wrote: Hi Jacek, Thanks for the patch! Comments below. On Fri, Apr 11, 2014 at 04:56:54PM +0200, Jacek Anaszewski wrote: This patch

Re: [GIT PULL 3.16] 2013:025f PCTV tripleStick (292e)

2014-04-23 Thread Antti Palosaari
On 23.04.2014 16:11, Mauro Carvalho Chehab wrote: Em Wed, 23 Apr 2014 05:13:27 +0300 Antti Palosaari cr...@iki.fi escreveu: Hardware is Empia EM28178, Silicon Labs Si2168, Silicon Labs Si2157. There is on/off external LNA too. Two new drivers for Silicon Labs DTV chipset. Demod needs

Re: [PATCH] v4l: subdev: Move [gs]_std operation to video ops

2014-04-23 Thread Prabhakar Lad
Hi Laurent, Thanks for the patch. On Tue, Mar 11, 2014 at 3:44 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: The g_std and s_std operations are video-related, move them to the video ops where they belong. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[GIT PULL for v3.16] Sub-device and Media device owner change, small fixes

2014-04-23 Thread Sakari Ailus
Hi Mauro, This pull request contains ownership and module use count changes for the media device and V4L2 sub-devices, a missing check for the user space arguments in [gs]_frame_interval and a few comment improvements. Please pull. The following changes since commit

[PATCH 1/3] smiapp: Print the index of the format descriptor

2014-04-23 Thread Sakari Ailus
This makes constructing quirks easier. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH 0/3] Smiapp quirk call order and best scaling ratio fixes

2014-04-23 Thread Sakari Ailus
Hi, The most important patch is the third one: wrong scaling ratio was selected in many (or most?) cases due to the wrong signedness of the variable. The other two have less effect on the functionality. -- Kind regards, Sakari -- To unsubscribe from this list: send the line unsubscribe

[PATCH 3/3] smiapp: Scaling goodness is signed

2014-04-23 Thread Sakari Ailus
The best value was unsigned however, leading to signed-to-unsigned comparison and wrong results. Possibly only on a newer GCC. Fix this by making the best value signed as well. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 2 +- 1 file

[PATCH 2/3] smiapp: Call limits quirk immediately after retrieving the limits

2014-04-23 Thread Sakari Ailus
Some of the limits are used before the limits quirk is called. Move the call immediately after obtaining the limits. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- drivers/media/i2c/smiapp/smiapp-core.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Terratec Cinergy T XS Firmware (Kernel 3.14.1)

2014-04-23 Thread Daniel Exner
Hi, (Please keep me in CC as I'm currently not subscribed to this Mailinglist) I happened to inherit one of those DVB-T Sticks ID 0ccd:0043 TerraTec Electronic GmbH Cinergy T XS and of course it isn't working as exspected. So far I extracted the firmware the tuner_xc2028 module was telling

Re: Terratec Cinergy T XS Firmware (Kernel 3.14.1)

2014-04-23 Thread Devin Heitmueller
On Wed, Apr 23, 2014 at 4:34 PM, Daniel Exner d...@dragonslave.de wrote: Hi, (Please keep me in CC as I'm currently not subscribed to this Mailinglist) I happened to inherit one of those DVB-T Sticks ID 0ccd:0043 TerraTec Electronic GmbH Cinergy T XS and of course it isn't working as

Re: Terratec Cinergy T XS Firmware (Kernel 3.14.1)

2014-04-23 Thread Daniel Exner
Hi, Am 23.04.2014 22:42, schrieb Devin Heitmueller: On Wed, Apr 23, 2014 at 4:34 PM, Daniel Exner d...@dragonslave.de wrote: You can get the firmware via the following procedure: http://www.linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware or if you're on Ubuntu

Re: [PATCH] [media] V4L: s5c73m3: Fix build after v4l2_of_get_next_endpoint rename

2014-04-23 Thread David Rientjes
On Wed, 9 Apr 2014, Krzysztof Kozlowski wrote: Fix build error after v4l2_of_get_next_endpoint rename (fd9fdb78a9bf: [media] of: move graph helpers from drivers/media/v4l2-core...): drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function ‘s5c73m3_get_platform_data’:

Re: [PATCH] [media] V4L: s5c73m3: Fix build after v4l2_of_get_next_endpoint rename

2014-04-23 Thread Sylwester Nawrocki
On 04/23/2014 10:57 PM, David Rientjes wrote: On Wed, 9 Apr 2014, Krzysztof Kozlowski wrote: Fix build error after v4l2_of_get_next_endpoint rename (fd9fdb78a9bf: [media] of: move graph helpers from drivers/media/v4l2-core...): drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function

cron job: media_tree daily build: ERRORS

2014-04-23 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 Apr 24 04:00:28 CEST 2014 git branch: test git hash: 393cbd8dc532c1ebed60719da8d379f50d445f28 gcc