Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-24 Thread Tycho Lürsen
Hi Olli, in saa716x_budget.c I've also got (for TBS6285) si2168_config.i2c_adapter = i2cadapter; si2168_config.fe = adapter-fe; si2168_config.ts_mode = SI2168_TS_SERIAL; memset(info, 0, sizeof(struct i2c_board_info)); Should I just add it like this? si2168_config.ts_mode =

Re: [PATCH] [media] vivid: add 1080p capture at 2 fps and 5 fps to webcam emulation

2015-04-24 Thread Hans Verkuil
Hi Philipp, Thank you for the patch, but I have one question: On 04/23/2015 03:52 PM, Philipp Zabel wrote: Use the VIVID_WEBCAM_SIZES constant where appropriate and add a 1920x1080 pixel frame size setting with frame rates of 2 fps and 5 fps. Why add both 2 and 5 fps? Is there a reason why

[PATCH] cx18: add missing caps for the PCM video device

2015-04-24 Thread Hans Verkuil
The cx18 PCM video device didn't have any capabilities set, which caused a warnings in the v4l2 core: [6.229393] [ cut here ] [6.229414] WARNING: CPU: 1 PID: 593 at drivers/media/v4l2-core/v4l2-ioctl.c:1025 v4l_querycap+0x41/0x70 [videodev]() [6.229415]

Re: Missing additional V4L2 caps in cx18

2015-04-24 Thread Hans Verkuil
Hi Laura, Thanks for the report. I've made a patch and CC-ed you on it. The TS and IDX streams are internal (i.e., they do not map to a V4L2 device node), but the PCM stream isn't, and that's the one causing the warning. Regards, Hans On 04/23/2015 07:57 PM, Laura Abbott wrote: Hi,

Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-24 Thread Tycho Lürsen
One more question: cx23885-dvb.c (and maybe others) contains a couple of instances of si2168_config.ts_mode = SI2168_TS_PARALLEL; and si2168_config.ts_mode = SI2168_TS_SERIAL; But you don't patch them with si2168_config.ts_clock_gapped = true; Is this intentional? Kind regards, Tycho Op

[PATCH v2 1/2] gspca: sn9c2028: Add support for Genius Videocam Live v2

2015-04-24 Thread Vasily Khoruzhick
This cam seems to return different values on long commands, so make status check in sn9c2028_long_command() more tolerant. Anyway, read value isn't used anywhere later. Signed-off-by: Vasily Khoruzhick anars...@gmail.com --- v2: update commit message to explain change in sn9c2028_long_command()

Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-24 Thread Olli Salonen
Hi Tycho, Yes, so far the only device that I know should use gapped clock is the DVBSky T330 a.k.a. TechnoTrend CT2-4400. I've also seen that the Hauppauge HVR-2205 Windows driver enables this option, but it seems to me that that board works ok also without this. Cheers, -olli On 24 April 2015

[GIT PULL FOR v4.2] Various fixes

2015-04-24 Thread Hans Verkuil
The following changes since commit e183201b9e917daf2530b637b2f34f1d5afb934d: [media] uvcvideo: add support for VIDIOC_QUERY_EXT_CTRL (2015-04-10 10:29:27 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v4.2d for you to fetch changes up to

Re: [PATCH v4 00/17] media: blackfin: bfin_capture enhancements

2015-04-24 Thread Hans Verkuil
On 04/10/2015 12:42 PM, Scott Jiang wrote: Hi Hans, Hans, I tried to use v4l2-compliance but it failed to compile. Sorry for telling you it have passed compilation because I forgot to use blackfin toolchain. ./configure --without-jpeg --host=bfin-linux-uclibc --disable-libv4l The main

Re: [PATCH 0/9 v2] Helper to abstract vma handling in media layer

2015-04-24 Thread Marek Szyprowski
Dear All, On 2015-04-02 17:25, Hans Verkuil wrote: On 04/02/2015 05:02 PM, Jan Kara wrote: Hello, On Tue 17-03-15 12:56:30, Jan Kara wrote: After a long pause I'm sending second version of my patch series to abstract vma handling from the various media drivers. After this patch set

[GIT PULL FOR v4.2] marvell-ccic fixes

2015-04-24 Thread Hans Verkuil
This supersedes https://patchwork.linuxtv.org/patch/29163/. Added two more patches (fix memory leak on failure path in cafe_smbus_setup() and fix V4L2_PIX_FMT_SBGGR8 support). All tested on my OLPC XO laptop. Regards, Hans The following changes since commit

Re: [PATCH v5 06/10] media: Add registration helpers for V4L2 flash sub-devices

2015-04-24 Thread Jacek Anaszewski
Hi Sakari, On Fri, 24 Apr 2015 00:52:12 +0300 Sakari Ailus sakari.ai...@iki.fi wrote: Hi Jacek, Jacek Anaszewski wrote: ... +#define call_flash_op(v4l2_flash, op, arg) \ + (has_flash_op(v4l2_flash, op) ? \ +

Re: [PATCH 0/9 v2] Helper to abstract vma handling in media layer

2015-04-24 Thread Hans Verkuil
Hi Marek, On 04/24/2015 12:59 PM, Marek Szyprowski wrote: Dear All, On 2015-04-02 17:25, Hans Verkuil wrote: On 04/02/2015 05:02 PM, Jan Kara wrote: Hello, On Tue 17-03-15 12:56:30, Jan Kara wrote: After a long pause I'm sending second version of my patch series to abstract vma

Re: [PATCH v5 06/10] media: Add registration helpers for V4L2 flash sub-devices

2015-04-24 Thread Sakari Ailus
Hi Jacek, On Fri, Apr 24, 2015 at 12:29:17PM +0200, Jacek Anaszewski wrote: Hi Sakari, On Fri, 24 Apr 2015 00:52:12 +0300 Sakari Ailus sakari.ai...@iki.fi wrote: Hi Jacek, Jacek Anaszewski wrote: ... +#define call_flash_op(v4l2_flash, op, arg)\ +

[PATCH] marvell-ccic: fix RGB444 format

2015-04-24 Thread Hans Verkuil
The RGB444 format swapped the red and blue components, fix this. Rather than making a new BGR444 format (as I proposed initially), Jon prefers to just fix this and return the colors in the right order. I think that makes sense in this case. Since the RGB444 pixel format is deprecated due to the

Re: [PATCH] [media] vivid: add 1080p capture at 2 fps and 5 fps to webcam emulation

2015-04-24 Thread Philipp Zabel
Hi Hans, Am Freitag, den 24.04.2015, 08:43 +0200 schrieb Hans Verkuil: Hi Philipp, Thank you for the patch, but I have one question: On 04/23/2015 03:52 PM, Philipp Zabel wrote: Use the VIVID_WEBCAM_SIZES constant where appropriate and add a 1920x1080 pixel frame size setting with

Re: [PATCH v4 06/10] cec: add HDMI CEC framework

2015-04-24 Thread Lars Op den Kamp
Hi Kamil, Hans, I'm the main developer of libCEC (https://github.com/Pulse-Eight/libcec). Sorry for the late time to jump in here, but I wasn't signed up to this mailing list and someone pointed me to this discussion. Unfortunately this approach will not work with half the TVs that are out

Re: [PATCH] cx18: add missing caps for the PCM video device

2015-04-24 Thread Andy Walls
On April 24, 2015 2:55:07 AM EDT, Hans Verkuil hverk...@xs4all.nl wrote: The cx18 PCM video device didn't have any capabilities set, which caused a warnings in the v4l2 core: [6.229393] [ cut here ] [6.229414] WARNING: CPU: 1 PID: 593 at

[RCF02] Driver for Toshiba TC358743 CSI-2 to HDMI bridge

2015-04-24 Thread matrandg
From: Mats Randgaard matra...@cisco.com Hi, I have finally finished the second RFC for this driver. Changes since RFC01: - Improved code based on feedback from Hans and Philipp. For the CSI parameters have I only written a set of values that can serve as a starting point, since calculation

Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-24 Thread Steven Toth
Steven, thanks for your comment You are very welcome. So maybe this should also go into cx23885? I'm in Europe and only have DVB-C My understanding is that it applies to all USB/PCIe bridges. -- Steven Toth - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the

[PATCH 1/5] vivid-tpg: add tpg_log_status()

2015-04-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add a log_status function to the test pattern generator and use that in vivid. This simplifies debugging complex colorspace problems. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-core.c | 13 -

[PATCH 0/5] vivid-tpg: fixes/improvements

2015-04-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com - Add logging - Add full range variants of several Y'CbCr encodings to be consistent with the existing encodings - Ignore quantization range for the XV601/709 encodings as that does not apply for those encodings Hans Hans Verkuil (5):

[PATCH 5/5] vivid-tpg: fix XV601/709 Y'CbCr encoding

2015-04-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com For these encodings the quantization range should be ignored, since there is only one possible Y'CbCr encoding. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-tpg.c | 24 1 file

[PATCH 3/5] vivid-tpg: add full range BT.2020 support

2015-04-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com In order to be consistent with the other Y'CbCr encodings add support for full range V4L2_YCBCR_ENC_BT2020. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-tpg.c | 15 +-- 1 file changed, 13

[PATCH 2/5] vivid-tpg: add full range SMPTE 240M support

2015-04-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com In order to be consistent with the other Y'CbCr encodings add support for full range V4L2_YCBCR_ENC_SMPTE240M. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-tpg.c | 14 -- 1 file changed, 12

[PATCH 4/5] vivid-tpg: add full range BT.2020C support

2015-04-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com In order to be consistent with the other Y'CbCr encodings add support for full range V4L2_YCBCR_ENC_BT2020_CONST_LUM. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-tpg.c | 40 +++-

Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-24 Thread Steven Toth
I've also seen that the Hauppauge HVR-2205 Windows driver enables this option, but it seems to me that that board works ok also without this. Olli, I found out why this is, I thought you'd appreciate the comment Apparently the issue only occurs with DVB streams faster than approximately

[RCF02] Driver for Toshiba TC358743 CSI-2 to HDMI bridge

2015-04-24 Thread matrandg
From: Mats Randgaard matra...@cisco.com The driver is tested on our hardware and all the implemented features works as expected. Missing features: - CEC support - HDCP repeater support - IR support Signed-off-by: Mats Randgaard matra...@cisco.com --- MAINTAINERS|6 +

[GIT PULL]: dma-buf updates for 4.1-rc1

2015-04-24 Thread Sumit Semwal
Hi Linus, May I request you to pull a few dma-buf changes for 4.1-rc1? minor cleanup only; this could've gone in for the 4.0 merge window, but for a copy-paste stupidity from me. It has been in the for-next since then, and no issues reported. Thanks and best regards, Sumit. The following

Re: [PATCH] marvell-ccic: fix RGB444 format

2015-04-24 Thread Jonathan Corbet
On Fri, 24 Apr 2015 11:52:47 +0200 Hans Verkuil hverk...@xs4all.nl wrote: The RGB444 format swapped the red and blue components, fix this. Rather than making a new BGR444 format (as I proposed initially), Jon prefers to just fix this and return the colors in the right order. I think that

Re: [PATCH 0/9 v2] Helper to abstract vma handling in media layer

2015-04-24 Thread Jan Kara
On Fri 24-04-15 13:07:37, Hans Verkuil wrote: Hi Marek, On 04/24/2015 12:59 PM, Marek Szyprowski wrote: Dear All, On 2015-04-02 17:25, Hans Verkuil wrote: On 04/02/2015 05:02 PM, Jan Kara wrote: Hello, On Tue 17-03-15 12:56:30, Jan Kara wrote: After a long pause I'm

cron job: media_tree daily build: WARNINGS

2015-04-24 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: Sat Apr 25 04:00:20 CEST 2015 git branch: test git hash: e183201b9e917daf2530b637b2f34f1d5afb934d gcc

Re: [PATCH 1/9] mm: Provide new get_vaddr_pfns() helper

2015-04-24 Thread Jan Kara
On Mon 17-03-14 20:49:28, Jan Kara wrote: Provide new function get_vaddr_pfns(). This function maps virtual addresses from given start and fills given array with page frame numbers of the corresponding pages. If given start belongs to a normal vma, the function grabs reference to each of the

Re: [PATCH] cx18: add missing caps for the PCM video device

2015-04-24 Thread Hans Verkuil
On 04/24/2015 08:55 AM, Hans Verkuil wrote: The cx18 PCM video device didn't have any capabilities set, which caused a warnings in the v4l2 core: [6.229393] [ cut here ] [6.229414] WARNING: CPU: 1 PID: 593 at drivers/media/v4l2-core/v4l2-ioctl.c:1025

[PATCH] usbtv: fix v4l2-compliance issues

2015-04-24 Thread Hans Verkuil
Running v4l2-compliance on my usbtv stick revealed two failures: 1) Correct handling of CREATE_BUFS in usbtv_queue_setup was missing. Added this. 2) The sequence counter wasn't reset to 0 when starting streaming. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Tested-by: Hans Verkuil

Re: [PATCH] fix: make menuconfig breaks due to whitespaces in Kconfig

2015-04-24 Thread Hans Verkuil
Hi, Can you show the Kconfig script that contains the syntax error? I don't quite see how this goes wrong. Perhaps if I see the broken Kconfig I understand this better. Thanks, Hans On 04/10/2015 05:21 AM, tcm...@gmx.net wrote: From: TC tcm...@gmx.net Date: Fri, 10 Apr 2015 04:29:20

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Benoit Parrot
Sakari Ailus sakari.ai...@iki.fi wrote on Thu [2015-Mar-26 00:57:36 +0200]: Add lane-polarity property to endpoint nodes. This essentially tells that the order of the differential signal wires is inverted. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Sakari Ailus
Hi Benoit, On Fri, Apr 24, 2015 at 02:41:00PM -0500, Benoit Parrot wrote: Sakari Ailus sakari.ai...@iki.fi wrote on Thu [2015-Mar-26 00:57:36 +0200]: Add lane-polarity property to endpoint nodes. This essentially tells that the order of the differential signal wires is inverted.

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Benoit Parrot
Sakari Ailus sakari.ai...@iki.fi wrote on Fri [2015-Apr-24 22:49:33 +0300]: Hi Benoit, On Fri, Apr 24, 2015 at 02:41:00PM -0500, Benoit Parrot wrote: Sakari Ailus sakari.ai...@iki.fi wrote on Thu [2015-Mar-26 00:57:36 +0200]: Add lane-polarity property to endpoint nodes. This