Re: [RFCv2 PATCH 02/10] v4l2: add matrix support.

2013-08-15 Thread Hans Verkuil
On 08/14/2013 04:33 PM, Sakari Ailus wrote: Hi Hans, Thanks for the set! On Mon, Aug 12, 2013 at 12:58:25PM +0200, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com This patch adds core support for matrices: querying, getting and setting. Two initial matrix types are

Re: [RFCv2 PATCH 02/10] v4l2: add matrix support.

2013-08-15 Thread Sakari Ailus
Hi Hans, On Thu, Aug 15, 2013 at 08:35:01AM +0200, Hans Verkuil wrote: On 08/14/2013 04:33 PM, Sakari Ailus wrote: ... + * @columns: number of columns in the matrix + * @rows: number of rows in the matrix Two dimensions only? How about one or three? I could imagine use for one, at

Re: How to express planar formats with mediabus format code?

2013-08-15 Thread Su Jiaquan
Hi Laurent / Guennadi, On Sat, Aug 10, 2013 at 1:06 AM, Su Jiaquan jiaquan@gmail.com wrote: Hi Laurent / Guennadi, On Fri, Aug 9, 2013 at 5:12 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi, On Tuesday 06 August 2013 17:18:14 Su Jiaquan wrote: Hi Guennadi, Thanks

Re: [PATCH] media: st-rc: Add ST remote control driver

2013-08-15 Thread Mark Rutland
On Wed, Aug 14, 2013 at 06:27:01PM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter. This IP is common across all the ST parts for settop box platforms. IRB is

[PATCH] [media] gspca-ov534: don't call sd_start() from sd_init()

2013-08-15 Thread Antonio Ospite
sd_start() operates on device controls but after the conversion to the v4l2 control framework in commits 62bba5d and 1bd7d6a controls are initialized in sd_init_controls() which is called _after_ sd_init(): The change fixes a NULL pointer dereference for Hercules Blog Webcam; the problem is

Re: [RFC PATCH] fence: dma-buf cross-device synchronization (v12)

2013-08-15 Thread Maarten Lankhorst
Op 12-08-13 17:43, Rob Clark schreef: On Mon, Jul 29, 2013 at 10:05 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example,

[PATCH] fence: dma-buf cross-device synchronization (v13)

2013-08-15 Thread Maarten Lankhorst
A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still rendering.

Re: [PATCH v5 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-15 Thread Sylwester Nawrocki
Hi, Thanks for the update. I'd like to possibly queue it for 3.12 once the review comments are addressed and the DT maintainers are OK with that. W dniu 2013-08-14 06:46, Arun Kumar K pisze: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5

[PATCH 03/12] adv7604: pixel-clock depends on deep-color-mode

2013-08-15 Thread Hans Verkuil
From: Martin Bugge marbu...@cisco.com The frequency calculation has to take deep-color mode into account. While we're at it, also log the deep-color mode in log_status. Signed-off-by: Martin Bugge marbu...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH 02/12] adv7604: debounce format change notifications

2013-08-15 Thread Hans Verkuil
From: Mats Randgaard matra...@cisco.com The bridge driver is only notified when the input status has changed since the previous interrupt. Signed-off-by: Mats Randgaard matra...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/adv7604.c | 20

[PATCH 01/12] v4l2-dv-timings: fix CVT calculation

2013-08-15 Thread Hans Verkuil
From: Martin Bugge marbu...@cisco.com This patch fixes two errors that caused incorrect format detections: The first bug is in the calculation of the vertical backporch: the combined period of vsync and backporch must *exceed* a certain minimum value, and not be equal to it. The second bug is a

[PATCH 00/12] dv-timings/adv7604/ad9389b fixes

2013-08-15 Thread Hans Verkuil
This patch series builds on top of the for-v3.12 pull request: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/67690 It applies a bunch of fixes from Cisco's internal tree and it adds the v4l2_print_dv_timings helper function. Regards, Hans -- To unsubscribe

[PATCH 09/12] ad9389b: change initial register configuration in ad9389b_setup()

2013-08-15 Thread Hans Verkuil
From: Mats Randgaard matra...@cisco.com - register 0x17: CSC scaling factor was set to +/- 2.0. This register is set by ad9389b_csc_conversion_mode() to the right value. - register 0x3b: bits for pixel repetition and CSC was set to zero, but that is the default value. Signed-off-by: Mats

[PATCH 08/12] adv7604: corrected edid crc-calculation

2013-08-15 Thread Hans Verkuil
From: Martin Bugge marbu...@cisco.com Signed-off-by: Martin Bugge marbu...@cisco.com Reviewed-by: Mats Randgaard matra...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/ad9389b.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 10/12] v4l2-dv-timings: add v4l2_print_dv_timings helper

2013-08-15 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Drivers often have to log the contents of a dv_timings struct. Adding this helper will make it easier for drivers to do so. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-dv-timings.c | 49

[PATCH 04/12] adv7604: improve log_status for HDMI/DVI-D signals

2013-08-15 Thread Hans Verkuil
From: Mats Randgaard matra...@cisco.com Don't log if there is no signal. If there is a signal, then also log HDCP and audio status. Signed-off-by: Mats Randgaard matra...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/adv7604.c | 44

[PATCH 07/12] ad9389b: trigger edid re-read by power-cycle chip

2013-08-15 Thread Hans Verkuil
From: Martin Bugge marbu...@cisco.com Signed-off-by: Martin Bugge marbu...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/ad9389b.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/ad9389b.c

[PATCH 11/12] ad9389b/adv7604/ths8200: use new v4l2_print_dv_timings helper.

2013-08-15 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com These three drivers all have code to log the dv_timings contents. Replace that code with the new helper function. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/ad9389b.c | 17 +++-- drivers/media/i2c/adv7604.c | 61

[PATCH 06/12] ad9389b: no monitor if EDID is wrong

2013-08-15 Thread Hans Verkuil
From: Mats Randgaard matra...@cisco.com state-have_monitor is set to false if the EDID that is read from the monitor has too many segments or wrong CRC. Signed-off-by: Mats Randgaard matra...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/ad9389b.c | 3 +++ 1

[PATCH 05/12] adv7604: print flags and standards in timing information

2013-08-15 Thread Hans Verkuil
From: Mats Randgaard matra...@cisco.com Signed-off-by: Mats Randgaard matra...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/adv7604.c | 41 - 1 file changed, 28 insertions(+), 13 deletions(-) diff --git

[PATCH 12/12] v4l2-dv-timings: rename v4l_match_dv_timings to v4l2_match_dv_timings

2013-08-15 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com It's the only function in v4l2-dv-timings.c with the v4l prefix instead of v4l2. Make it consistent with the other functions. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/adv7604.c | 4 ++--

Re: [PATCH] dma-buf: Expose buffer size to userspace

2013-08-15 Thread Daniel Vetter
On Mon, Aug 05, 2013 at 04:22:00PM +1000, Christopher James Halse Rogers wrote: Each dma-buf has an associated size and it's reasonable for userspace to want to know what it is. Since userspace already has an fd, expose the size using the size = lseek(fd, SEEK_END, 0); lseek(fd, SEEK_CUR,

[PATCH] fence: dma-buf cross-device synchronization (v14)

2013-08-15 Thread Maarten Lankhorst
A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still rendering.

Re: [PATCH] fence: dma-buf cross-device synchronization (v13)

2013-08-15 Thread Marcin Ślusarz
2013/8/15 Maarten Lankhorst maarten.lankho...@canonical.com: A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of

Re: [PATCH] media: st-rc: Add ST remote control driver

2013-08-15 Thread Srinivas KANDAGATLA
Thanks Mark for your comments. On 15/08/13 09:49, Mark Rutland wrote: On Wed, Aug 14, 2013 at 06:27:01PM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter. This

Re: [RFC PATCH] fence: dma-buf cross-device synchronization (v12)

2013-08-15 Thread Rob Clark
On Thu, Aug 15, 2013 at 7:16 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Op 12-08-13 17:43, Rob Clark schreef: On Mon, Jul 29, 2013 at 10:05 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: + [snip] +/** + * fence_add_callback - add a callback to be called when

Re: [PATCH] media: st-rc: Add ST remote control driver

2013-08-15 Thread Mark Rutland
On Thu, Aug 15, 2013 at 01:57:13PM +0100, Srinivas KANDAGATLA wrote: Thanks Mark for your comments. On 15/08/13 09:49, Mark Rutland wrote: On Wed, Aug 14, 2013 at 06:27:01PM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support

Re: [PATCH] media: st-rc: Add ST remote control driver

2013-08-15 Thread Pawel Moll
On Wed, 2013-08-14 at 18:27 +0100, Srinivas KANDAGATLA wrote: +Device-Tree bindings for ST IR and UHF receiver + +Required properties: + - compatible: should be st,rc. + - st,uhfmode: boolean property to indicate if reception is in UHF. + - reg: base physical address of the

Re: [PATCH] media: st-rc: Add ST remote control driver

2013-08-15 Thread Srinivas KANDAGATLA
On 15/08/13 14:30, Pawel Moll wrote: On Wed, 2013-08-14 at 18:27 +0100, Srinivas KANDAGATLA wrote: +Device-Tree bindings for ST IR and UHF receiver + +Required properties: + - compatible: should be st,rc. + - st,uhfmode: boolean property to indicate if reception is in UHF. +

Re: [PATCH] fence: dma-buf cross-device synchronization (v13)

2013-08-15 Thread Maarten Lankhorst
Op 15-08-13 14:45, Marcin Ślusarz schreef: 2013/8/15 Maarten Lankhorst maarten.lankho...@canonical.com: A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call

OMAP3 ISP DQBUF hangs

2013-08-15 Thread Tom
Hello, I'm working with an OMAP3 DM3730 processor module with a ov3640 camera module attached on parallel interface. I'm using Linux 3.5 and an application which builds the pipeline and grabs an image like the media-ctl and the yavta tools. I configured the pipeline to: sensor-ccdc-memory When

Re: [PATCH] media: st-rc: Add ST remote control driver

2013-08-15 Thread Srinivas KANDAGATLA
On 15/08/13 14:29, Mark Rutland wrote: On Thu, Aug 15, 2013 at 01:57:13PM +0100, Srinivas KANDAGATLA wrote: Thanks Mark for your comments. On 15/08/13 09:49, Mark Rutland wrote: On Wed, Aug 14, 2013 at 06:27:01PM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla

Re: [RFC PATCH] fence: dma-buf cross-device synchronization (v12)

2013-08-15 Thread Maarten Lankhorst
Op 15-08-13 15:14, Rob Clark schreef: On Thu, Aug 15, 2013 at 7:16 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Op 12-08-13 17:43, Rob Clark schreef: On Mon, Jul 29, 2013 at 10:05 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: + [snip] +/** + *

Re: [PATCH] media: st-rc: Add ST remote control driver

2013-08-15 Thread Mark Rutland
On Thu, Aug 15, 2013 at 03:06:14PM +0100, Srinivas KANDAGATLA wrote: On 15/08/13 14:29, Mark Rutland wrote: On Thu, Aug 15, 2013 at 01:57:13PM +0100, Srinivas KANDAGATLA wrote: Thanks Mark for your comments. On 15/08/13 09:49, Mark Rutland wrote: On Wed, Aug 14, 2013 at 06:27:01PM

Re: [PATCH v5 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-15 Thread Sylwester Nawrocki
W dniu 2013-08-14 06:46, Arun Kumar K pisze: The patch adds the DT binding documentation for Samsung Exynos5 SoC series imaging subsystem (FIMC-IS). Signed-off-by: Arun Kumar K arun...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

Fwd: scan reports wrong polarization for some multiplexes

2013-08-15 Thread Tomi Mikkonen
Package: dvb-apps Version: Today's (15/08/2013) from mercurial The output of scan reports wrong polarization for some channels. See the example below for LBC News. ./scan -a 2 dvb-s/Astra-28.2E out.txt ~/dvb-apps/util/scan$ grep LBC out.txt LBC 97.3:11223:v:0:27500:0:2312:52029 LBC

DVR card SAA7134/SAA7135HL unknown

2013-08-15 Thread Jody Gugelhupf
hi all :) trying to get this 8 channel dvr card to work in linux, but I get this: Board is currently unknown. You might try to use the card=nr saa7134: insmod option to specify which board do you have, but this is saa7134: somewhat risky, as might damage your card. It is better to ask saa7134:

cron job: media_tree daily build: WARNINGS

2013-08-15 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 Aug 15 19:00:19 CEST 2013 git branch: test git hash: dfb9f94e8e5e7f73c8e2bcb7d4fb1de57e7c333d gcc