coda: Problems with encoding in i.MX6DL.

2015-07-28 Thread Javier Martin
Hello, I am running kernel 4.1 in a var-dvk-solo-linux evaluation board from Variscite. This is what I get at system start-up: coda 204.vpu: Firmware code revision: 34588 coda 204.vpu: Initialized CODA960. coda 204.vpu: Unsupported firmware version: 2.1.8 coda 204.vpu: codec re

cron job: media_tree daily build: OK

2015-07-28 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: Wed Jul 29 04:00:58 CEST 2015 git branch: test git hash: 4dc102b2f53d63207fa12a6ad49c7b6448bc3301 gcc versi

Re: [PATCHv2 8/9] hackrf: add support for transmitter

2015-07-28 Thread Antti Palosaari
On 07/28/2015 10:06 AM, Hans Verkuil wrote: On 07/28/2015 02:50 AM, Antti Palosaari wrote: On 07/27/2015 11:38 PM, Hans Verkuil wrote: On 07/27/2015 10:21 PM, Antti Palosaari wrote: On 07/17/2015 05:43 PM, Hans Verkuil wrote: On 07/16/2015 09:04 AM, Antti Palosaari wrote: HackRF SDR device h

Renesas Lager: Device Tree entries for VIN HDMI input

2015-07-28 Thread William Towle
The patch series "HDMI and Composite capture on Lager...", here https://www.mail-archive.com/linux-media@vger.kernel.org/msg90650.html ...received a request for a re-post of its first two patches with an additional Cc: to linux...@vger.kernel.org here: https://www.mail-archive.

[PATCH 1/2] ARM: shmobile: lager dts: Add entries for VIN HDMI input support

2015-07-28 Thread William Towle
Add DT entries for vin0, vin0_pins, and adv7612 Signed-off-by: William Towle Signed-off-by: Rob Taylor --- arch/arm/boot/dts/r8a7790-lager.dts | 41 ++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/ar

[PATCH 2/2] ARM: shmobile: lager dts: specify default-input for ADV7612

2015-07-28 Thread William Towle
Set 'default-input' property for ADV7612. Enables image/video capture without the need to have userspace specifying routing. Signed-off-by: Ian Molton Tested-by: William Towle --- arch/arm/boot/dts/r8a7790-lager.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/r8a779

[PATCH v3 0/5] [media] NetUP Universal DVB PCIe card support

2015-07-28 Thread serjk
From: Kozlov Sergey Add support for NetUP Universal Dual DVB-CI PCIe board. The board has: - two CI slots - Altera FPGA-based PCIe bridge - two independent multistandard DTV demodulators based on Sony CXD2841ER chip - two Sony Horus3a DVB-S/S2 tuner chips - two Sony

[PATCH v3 2/5] [media] ascot2e: Sony Ascot2e DVB-C/T/T2 tuner driver

2015-07-28 Thread serjk
From: Kozlov Sergey Add DVB-T/T2/C frontend driver for Sony Ascot2e (CXD2861ER) chip. Changes in version 3: - fix DVB-C bandwidth frequency handling - use IS_REACHABLE() macro instead of IS_ENABLED() Signed-off-by: Kozlov Sergey --- MAINTAINERS |9 + driv

[PATCH v3 1/5] [media] horus3a: Sony Horus3A DVB-S/S2 tuner driver

2015-07-28 Thread serjk
From: Kozlov Sergey Add DVB-S/S2 frontend driver for Sony Horus3A (CXD2832AER) chip Changes in version 3: - fix DVB-S2 roll-off handling - fix coding style - use IS_REACHABLE macro instead of IS_ENABLED Signed-off-by: Kozlov Sergey --- MAINTAINERS |9

[PATCH v3 4/5] [media] cxd2841er: Sony CXD2841ER DVB-S/S2/T/T2/C demodulator driver

2015-07-28 Thread serjk
From: Kozlov Sergey Add DVB-C/T/T2/S/S2 demodulator frontend driver Sony CXD2841ER chip. Changes in version 3: - use IS_REACHABLE() macro instead of IS_ENABLED() Signed-off-by: Kozlov Sergey --- MAINTAINERS |9 + drivers/media/dvb-frontends/Kconfig

[PATCH v3 5/5] [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver

2015-07-28 Thread serjk
From: Kozlov Sergey Add NetUP Dual Universal CI PCIe board driver. The board has - two CI slots - two I2C adapters - SPI master bus for accessing flash memory containing FPGA firmware No changes required. Signed-off-by: Kozlov Sergey --- MAINTAINERS

[PATCH v3 3/5] [media] lnbh25: LNBH25 SEC controller driver

2015-07-28 Thread serjk
From: Kozlov Sergey Add DVB SEC frontend driver for STM LNBH25PQR chip. Changes in version 3: - use print_hex_dump() insted of dynamic_hex_dump() - use IS_REACHABLE macro instead of IS_ENABLED Signed-off-by: Kozlov Sergey --- MAINTAINERS |9 ++ drivers/med

Re: [PATCH v10.1] media: Add registration helpers for V4L2 flash sub-devices

2015-07-28 Thread Jacek Anaszewski
On 28.07.2015 12:00, Hans Verkuil wrote: On 06/19/2015 09:31 AM, Jacek Anaszewski wrote: This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 F

[PATCH] [media] i2c/adv7511: Fix license, set to GPL v2

2015-07-28 Thread Mike Looijmans
Header claims GPL v2, so make the MODULE_LICENSE reflect that properly. Signed-off-by: Mike Looijmans --- drivers/gpu/drm/i2c/adv7511_core.c | 2 +- drivers/media/i2c/adv7511.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i2c/adv7511_core.c b/dri

Re: [PATCH 1/2] [media] coda: fix sequence counter increment

2015-07-28 Thread Philipp Zabel
Am Dienstag, den 28.07.2015, 10:54 +0200 schrieb Hans Verkuil: > On 07/08/2015 05:49 PM, Philipp Zabel wrote: > > Hi Zahari, > > > > Am Mittwoch, den 08.07.2015, 15:37 +0200 schrieb Zahari Doychev: > >> The coda context queue sequence counter is incremented only if the vb2 > >> source buffer paylo

[GIT FIXES FOR v4.2] Fix vb2 compilation breakage when !CONFIG_BUG

2015-07-28 Thread Hans Verkuil
The following changes since commit 4dc102b2f53d63207fa12a6ad49c7b6448bc3301: [media] dvb_core: Replace memset with eth_zero_addr (2015-07-22 13:32:21 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v4.2a for you to fetch changes up to 900ac77d06

Re: [RFC PATCH 3/7] v4l2-fh: add v4l2_fh_open_is_first and v4l2_fh_release_is_last

2015-07-28 Thread Hans Verkuil
Hi Sakari, On 07/26/2015 12:42 AM, Sakari Ailus wrote: > Hi Hans, > > On Fri, Jul 24, 2015 at 12:21:32PM +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Add new helper functions that report back if this was the first open >> or last close. >> >> Signed-off-by: Hans Verkuil >> --- > > ..

Re: [PATCH 1/1] v4l: subdev: Serialise open and release internal ops

2015-07-28 Thread Hans Verkuil
On 07/22/2015 06:14 PM, Sakari Ailus wrote: > By default, serialise open and release internal ops using a mutex. > > The underlying problem is that a large proportion of the drivers do use Well, the only one I found that does this is the flash-led-class :-) But you are correct in your reply to m

Re: [PATCH v10.1] media: Add registration helpers for V4L2 flash sub-devices

2015-07-28 Thread Hans Verkuil
On 06/19/2015 09:31 AM, Jacek Anaszewski wrote: > This patch adds helper functions for registering/unregistering > LED Flash class devices as V4L2 sub-devices. The functions should > be called from the LED subsystem device driver. In case the > support for V4L2 Flash sub-devices is disabled in the

[GIT PULL FOR v4.3] Various fixes

2015-07-28 Thread Hans Verkuil
This pull request contains a pile of fixes/enhancements, mostly soc-camera related. Regards, Hans The following changes since commit 4dc102b2f53d63207fa12a6ad49c7b6448bc3301: [media] dvb_core: Replace memset with eth_zero_addr (2015-07-22 13:32:21 -0300) are available in the git rep

Re: HDMI and Composite capture on Lager, for kernel 4.1, version 5

2015-07-28 Thread Hans Verkuil
Hi William, On 07/23/2015 02:21 PM, William Towle wrote: > Version 5. Some successful upstreaming and some further modification > means this obsoletes version 4, as seen at: > > http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/92832 > > This version of the patc

Re: [PATCH 2/2] [media] m2m: fix bad unlock balance

2015-07-28 Thread Hans Verkuil
(sent again, this time with Kamil's new email) Kamil, Marek, Why does v4l2_m2m_poll unlock and lock in that function? Zahari is right that the locking is unbalanced, but I don't see the reason for the unlock/lock sequence in the first place. I'm wondering if that shouldn't just be removed. Am I

Re: [PATCH 2/2] [media] m2m: fix bad unlock balance

2015-07-28 Thread Hans Verkuil
Kamil, Marek, Why does v4l2_m2m_poll unlock and lock in that function? Zahari is right that the locking is unbalanced, but I don't see the reason for the unlock/lock sequence in the first place. I'm wondering if that shouldn't just be removed. Am I missing something? Instead, I would expect to

Re: [PATCH 1/2] [media] coda: fix sequence counter increment

2015-07-28 Thread Hans Verkuil
On 07/08/2015 05:49 PM, Philipp Zabel wrote: > Hi Zahari, > > Am Mittwoch, den 08.07.2015, 15:37 +0200 schrieb Zahari Doychev: >> The coda context queue sequence counter is incremented only if the vb2 >> source buffer payload is non zero. This makes possible to signal EOS >> otherwise the conditio

[PATCH] mt9v032: fix uninitialized variable warning

2015-07-28 Thread Hans Verkuil
drivers/media/i2c/mt9v032.c: In function ‘mt9v032_probe’: CC [M] drivers/media/i2c/s5k4ecgx.o drivers/media/i2c/mt9v032.c:996:20: warning: ‘pdata’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (pdata && pdata->link_freqs) { ^ It can indeed be unini

Re: [PATCH] [media] v4l2: export videobuf2 trace points

2015-07-28 Thread Philipp Zabel
Am Dienstag, den 28.07.2015, 10:02 +0200 schrieb Hans Verkuil: > On 07/28/2015 09:55 AM, Philipp Zabel wrote: > > If videobuf2-core is built as a module, the vb2 trace points must be > > exported from videodev.o to avoid errors when linking videobuf2-core. > > I'm no tracepoint expert, so I'll jus

Re: HDMI and Composite capture on Lager, for kernel 4.1, version 5

2015-07-28 Thread Guennadi Liakhovetski
On Thu, 23 Jul 2015, William Towle wrote: > Version 5. Some successful upstreaming and some further modification > means this obsoletes version 4, as seen at: > > http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/92832 > > This version of the patch series contai

Re: [PATCH] [media] v4l2: export videobuf2 trace points

2015-07-28 Thread Hans Verkuil
On 07/28/2015 09:55 AM, Philipp Zabel wrote: > If videobuf2-core is built as a module, the vb2 trace points must be > exported from videodev.o to avoid errors when linking videobuf2-core. I'm no tracepoint expert, so I'll just ask: if the tracepoint functionality is disabled in the kernel, will th

Re: [Linaro-mm-sig] [PATCH v3 0/2] RFC: Secure Memory Allocation Framework

2015-07-28 Thread Benjamin Gaignard
There is an API to do the same operation on kernel side than on userland. You can get an dmabuf handle, select the allocator if required, and secure it on kernel side. Your question makes me realize that I have forget to add an EXPORT_SYMBOL for smaf_create_handle function, I will fix that. Benja

[PATCH] [media] v4l2: export videobuf2 trace points

2015-07-28 Thread Philipp Zabel
If videobuf2-core is built as a module, the vb2 trace points must be exported from videodev.o to avoid errors when linking videobuf2-core. Signed-off-by: Philipp Zabel --- drivers/media/v4l2-core/v4l2-ioctl.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-i

Re: [PATCH v3 3/3] [media] videobuf2: add trace events

2015-07-28 Thread Philipp Zabel
Am Montag, den 27.07.2015, 13:12 +0200 schrieb Philipp Zabel: > Hi Hans, > > Am Sonntag, den 26.07.2015, 13:18 +0200 schrieb Hans Verkuil: > > Hi Philipp, > [...] > > > diff --git a/drivers/media/v4l2-core/videobuf2-core.c > > > b/drivers/media/v4l2-core/videobuf2-core.c > > > index 93b3154..b866

Re: [PATCH] [media] imageon-bridge: Add module license information

2015-07-28 Thread Lars-Peter Clausen
On 07/28/2015 09:14 AM, Hans Verkuil wrote: On 07/28/2015 07:39 AM, Mike Looijmans wrote: Comment header specifies GPL-2, so add a MODULE_LICENSE("GPL v2"). This fixes the driver failing to load when built as module: imageon_bridge: module license 'unspecified' taints kernel. imageon_bridg

Re: [PATCH 04/14] tw9910: init priv->scale and update standard

2015-07-28 Thread Guennadi Liakhovetski
On Tue, 28 Jul 2015, Hans Verkuil wrote: > On 07/26/2015 12:00 PM, Guennadi Liakhovetski wrote: > > Hi Hans, > > > > On Fri, 24 Jul 2015, Hans Verkuil wrote: > > > >> Guennadi, > >> > >> I want to make a pull request for this patch series. This patch is the only > >> outstanding one. > > > > Ri

Re: [PATCH 04/14] tw9910: init priv->scale and update standard

2015-07-28 Thread Hans Verkuil
On 07/26/2015 12:00 PM, Guennadi Liakhovetski wrote: > Hi Hans, > > On Fri, 24 Jul 2015, Hans Verkuil wrote: > >> Guennadi, >> >> I want to make a pull request for this patch series. This patch is the only >> outstanding one. > > Right, sorry for the delay. Replying to your explanation below: >

Re: [PATCH] [media] imageon-bridge: Add module license information

2015-07-28 Thread Hans Verkuil
On 07/28/2015 07:39 AM, Mike Looijmans wrote: > Comment header specifies GPL-2, so add a MODULE_LICENSE("GPL v2"). > This fixes the driver failing to load when built as module: > imageon_bridge: module license 'unspecified' taints kernel. > imageon_bridge: Unknown symbol ... > As an extra servi

Re: [PATCHv2 8/9] hackrf: add support for transmitter

2015-07-28 Thread Hans Verkuil
On 07/28/2015 02:50 AM, Antti Palosaari wrote: > On 07/27/2015 11:38 PM, Hans Verkuil wrote: >> On 07/27/2015 10:21 PM, Antti Palosaari wrote: >>> On 07/17/2015 05:43 PM, Hans Verkuil wrote: On 07/16/2015 09:04 AM, Antti Palosaari wrote: > HackRF SDR device has both receiver and transmitte