Hi, I request support for the number board of my SAA7130 (philips
semiconductor chipset) with fmradio card because it isn't listed in
the v4l2 driver list of Saa7134 module. The Tuner card is Winstars
WS-TVP7130FM.
the output of dmesg command is:
[ 20.072044] saa7130/34: v4l2 driver version 0,
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: Tue Jun 24 04:00:24 CEST 2014
git branch: test
git hash: 1fe3a8fe494463cfe2556a25ae41a1499725c178
gcc versi
inding(s).
I don't seem to be able to find renesas,vin-r8a7790 in
next-20140623. Have the driver changes been queued up elsewhere?
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Video nodes created and initialized in the RPF and WPF init code paths
are never unregistered, and the related resources (videobuf alloc
context and media entity) never released.
Fix this by storing a pointer to the vsp1_video object in vsp1_entity
and calling vsp1_video_cleanup() from vsp1_entity
The default value isn't set and defaults to 0, which isn't in the 1-6
min-max range. Fix it by setting the default value to 1.
This shoud have been caught when checking the control handler error
field at initialization time, but the check was missing. Add it.
Signed-off-by: Laurent Pinchart
---
If the pipeline was already stopped when stopping the stream, no
frame end interrupt will be generated and the driver will time out
waiting for the pipeline to stop.
Fix this by setting the pipeline state to STOPPED when the pipeline is
idle waiting for frames to process, and to STOPPING at stream
Pixel color components can be scaled using either bilinear interpolation
or a multitap filter. The multitap filter provides better results, but
can't be selected when the alpha layer need to be scaled down by more
than 1/2.
Disable alpha scaling when the input has a fixed alpha value, and
program
The control is used to configure the fixed alpha channel value, when
reading from memory in the RPF or writing to memory in the WPF.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_rpf.c | 52 ---
drivers/media/platform/vsp1/vsp1_rwpf.h | 2 ++
Modify the vsp1_device_get() function to return an error code instead of
a pointer to the VSP1 device, and use the return value in the callers.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1.h | 2 +-
drivers/media/platform/vsp1/vsp1_drv.c | 16 ++--
dr
The driver ignores the alpha component on output video nodes and
hardcodes the alpha component to 0 on capture video nodes. Make this
explicit by exposing XRGB formats.
Compatibility with existing userspace applications is handled by
selecting the XRGB format corresponding to the requested old RGB
Commit d9b45ed3d8b75e8cf38c8cd1563c29217eecba27 ("v4l: vsp1: Support
multi-input entities") reworked pipeline routing configuration and
introduced a bug by writing to the entities routing registers without
first checking whether the entity had a routing register. This results
in overwriting the val
When set, the new V4L2_PIX_FMT_FLAG_PREMUL_ALPHA flag indicates that the
pixel values are premultiplied by the alpha channel value.
Signed-off-by: Laurent Pinchart
---
Documentation/DocBook/media/v4l/pixfmt.xml | 28 +++-
Documentation/DocBook/media/v4l/v4l2.xml | 2 +-
Support ARGB formats on the RPF side by reading the alpha component from
memory and on the WPF side by writing it to memory.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_rpf.c | 8 --
drivers/media/platform/vsp1/vsp1_video.c | 49 +---
d
The BRU outputs premultiplied colors, enable color data normalization
when the format configured at the output of the pipeline isn't
premultiplied.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_bru.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff -
Use the subdev pointer directly to_vsp1_pipeline() macro instead of
casting from the subdev to the wpf object and back to the subdev.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_wpf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/pla
The v4l2_pix_format structure has no reserved field. It is embedded in
the v4l2_framebuffer structure which has no reserved fields either, and
in the v4l2_format structure which has reserved fields that were not
previously required to be zeroed out by applications.
To allow extending v4l2_pix_form
The control value is currently stored in the SRU structure by the
control set handler and written to the hardware at stream on time,
making control set during streaming ineffective. Fix it by writing to
the registers from within the control set handler.
Signed-off-by: Laurent Pinchart
---
driver
Several macros were mistakenly prefixed with VPS1 instead of VSP1. Fix
them.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1.h | 12 ++--
drivers/media/platform/vsp1/vsp1_drv.c | 6 +++---
drivers/media/platform/vsp1/vsp1_video.h | 2 +-
3 files changed, 10
videobuf2 stores the driver streaming state internally in the queue in
the start_streaming_called variable. The state is set right after the
driver start_stream operation returns, and checked in the
vb2_buffer_done() function, typically called from the frame completion
interrupt handler. A race con
videobuf2 expects no buffer to be owned by the driver when the
stop_stream queue operation returns. As the vsp1 driver fails to do so,
a warning is generated at stream top time.
Fix this by mark releasing all buffers queued on the IRQ queue in the
stop_stream operation handler and marking them as
Expose the background color to userspace through the V4L2_CID_BG_COLOR
control.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_bru.c | 51 ++
drivers/media/platform/vsp1/vsp1_bru.h | 3 ++
2 files changed, 49 insertions(+), 5 deletions(-)
d
Adjust the BRU blending formula to avoid the multiplication by alpha
when the corresponding input format is premultiplied. As this requires
access to the RPFs connected to the BRU inputs from the BRU module,
store pointers to the RPFs in the BRU structure when validating the
pipeline.
Signed-off-b
When setting a control directly on a subdev node the VSP1 driver doesn't
guarantee that the device is powered on. This leads to crashes when the
control handlers writes to hardware registers. One easy way to fix this
is to ensure that the device gets powered on when a subdev node is
opened. However
The VSP1 stores the video pipelines' input (RPF) to output (WPF)
mappings in a WPF register. An RPF must never be associated with
multiple WPFs, even if all of those WPFs but one are unused, otherwise
the hardware won't function properly.
The driver doesn't ensure this correctly as it never clears
Extend the V4L2_CID_ALPHA_COMPONENT control for use on output devices,
to set the alpha component value when the output format doesn't have an
alpha channel.
Signed-off-by: Laurent Pinchart
---
Documentation/DocBook/media/v4l/controls.xml | 17 ++---
1 file changed, 10 insertions(+),
Hello,
This patch set adds alpha support to the Renesas VSP1 driver. The feature is
split in two parts, support for the alpha component in capture and output
buffers, and support for premultiplied colors. Each part requires extensions
to the V4L API.
The first two patches add new pixel formats fo
From: Laurent Pinchart
The existing RGB pixel formats are ill-defined in respect to their alpha
bits and their meaning is driver dependent. Create new standard ARGB and
XRGB variants with clearly defined meanings and make the existing
variants deprecated.
The new pixel formats 4CC values have be
Hi Joe,
On Tue, Jun 24, 2014 at 5:13 AM, Joe Perches wrote:
> On Mon, 2014-06-23 at 10:25 -0700, Luis R. Rodriguez wrote:
>> On Mon, Jun 23, 2014 at 06:41:28AM -0700, Joe Perches wrote:
>> > Adding the helper reduces object code size as well as overall
>> > source size line count.
>> >
>> > It's
From: Joe Perches
Date: Mon, 23 Jun 2014 06:41:28 -0700
> Adding the helper reduces object code size as well as overall
> source size line count.
>
> It's also consistent with all the various zalloc mechanisms
> in the kernel.
>
> Done with a simple cocci script and some typing.
For networking
I've gone through and hopefully cleaned up Sergei's issues.
Is there any chance Simon could queue these in his tree?
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/major
Add device-tree for vin1 (composite video in) on the
lager board.
Signed-off-by: Ben Dooks
---
Fixes since v1:
- Whitespace fixes as suggested by Sergei
---
arch/arm/boot/dts/r8a7790-lager.dts | 36
1 file changed, 36 insertions(+)
diff --git a/arch
Add nodes for the four video input channels on the R8A7790.
Signed-off-by: Ben Dooks
---
arch/arm/boot/dts/r8a7790.dtsi | 36
1 file changed, 36 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 7ff2960..a6f083d
On 19/06/14 08:28, Guennadi Liakhovetski wrote:
> Hi Ben,
>
> Thanks for an update.
>
> On Sun, 15 Jun 2014, Ben Dooks wrote:
>
>> Add initial support for OF based soc-camera devices that may be used
>> by any of the soc-camera drivers. The driver itself will need converting
>> to use OF.
>>
>>
On Mon, Jun 23, 2014 at 01:08:24PM -0700, Александр Берсенев wrote:
> Thanks,
>
> Should I send applied patches in the further versions of this patch set?
No, you don't have to.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
s
On Mon, 2014-06-23 at 10:25 -0700, Luis R. Rodriguez wrote:
> On Mon, Jun 23, 2014 at 06:41:28AM -0700, Joe Perches wrote:
> > Adding the helper reduces object code size as well as overall
> > source size line count.
> >
> > It's also consistent with all the various zalloc mechanisms
> > in the ke
On Mon, Jun 23, 2014 at 06:41:28AM -0700, Joe Perches wrote:
> Adding the helper reduces object code size as well as overall
> source size line count.
>
> It's also consistent with all the various zalloc mechanisms
> in the kernel.
>
> Done with a simple cocci script and some typing.
Awesome, an
Am 2014-06-23 15:14, schrieb Zhang Rui:
> On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
>> Am 2014-06-23 03:10, schrieb Zhang, Rui:
>>>
>>>
-Original Message-
From: Martin Kepplinger [mailto:mart...@posteo.de]
Sent: Sunday, June 22, 2014 10:25 PM
To: Zhang,
Adding the helper reduces object code size as well as overall
source size line count.
It's also consistent with all the various zalloc mechanisms
in the kernel.
Done with a simple cocci script and some typing.
Joe Perches (22):
pci-dma-compat: Add pci_zalloc_consistent helper
atm: Use pci_za
Remove the now unnecessary memset too.
Signed-off-by: Joe Perches
---
drivers/media/common/saa7146/saa7146_core.c | 15 ++-
drivers/media/common/saa7146/saa7146_fops.c | 5 +++--
drivers/media/pci/bt8xx/bt878.c | 16
drivers/media/pci/n
On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
> Am 2014-06-23 03:10, schrieb Zhang, Rui:
> >
> >
> >> -Original Message-
> >> From: Martin Kepplinger [mailto:mart...@posteo.de]
> >> Sent: Sunday, June 22, 2014 10:25 PM
> >> To: Zhang, Rui
> >> Cc: r...@rjwysocki.net; l...@ke
On Sat, Jun 21, 2014 at 05:04:05PM +0600, Alexander Bersenev wrote:
> This patch adds records for two IR controllers on A20
>
> Signed-off-by: Alexander Bersenev
> Signed-off-by: Alexsey Shestacov
Applied, thanks.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engi
Hi Andy,
On 06/20/2014 12:24 PM, Andy Walls wrote:
> On Fri, 2014-06-20 at 09:07 +0200, Hans Verkuil wrote:
>> Hi Mauro,
>>
>> I wonder if you remember anything about the reported broken colorspace
>> handling
>> of bttv. The spec talks about V4L2_COLORSPACE_BT878 where the Y range is
>> 16-253
Am 2014-06-23 03:10, schrieb Zhang, Rui:
>
>
>> -Original Message-
>> From: Martin Kepplinger [mailto:mart...@posteo.de]
>> Sent: Sunday, June 22, 2014 10:25 PM
>> To: Zhang, Rui
>> Cc: r...@rjwysocki.net; l...@kernel.org; linux-a...@vger.kernel.org;
>> linux-ker...@vger.kernel.org
>> Sub
Hi Mauro,
On Monday 23 June 2014 07:58:37 Mauro Carvalho Chehab wrote:
> Em Mon, 23 Jun 2014 10:22:18 +0200 Hans Verkuil escreveu:
> > On 06/21/2014 12:53 PM, Mauro Carvalho Chehab wrote:
> >> Em Sat, 21 Jun 2014 08:07:57 +0200 Hans Verkuil escreveu:
> >>> On 06/21/2014 12:29 AM, Mauro Carvalho Ch
Em Mon, 23 Jun 2014 10:22:18 +0200
Hans Verkuil escreveu:
> On 06/21/2014 12:53 PM, Mauro Carvalho Chehab wrote:
> > Em Sat, 21 Jun 2014 08:07:57 +0200
> > Hans Verkuil escreveu:
> >
> >> On 06/21/2014 12:29 AM, Mauro Carvalho Chehab wrote:
> >>> Em Sat, 21 Jun 2014 00:07:19 +0200
> >>> Hans Ve
verify_length would fail if the user space fills up the data_offset field
and bytesused is left as zero. Correct this.
If bytesused is not populated, it means bytesused is same as length.
Checking data offset >= bytesused makes sense only if bytesused is valid.
Signed-off-by: Nikhil Devshatwar
-
On Monday 23 June 2014 01:25 PM, Hans Verkuil wrote:
On 06/22/2014 12:47 PM, Nikhil Devshatwar wrote:
verify_planes would fail if the user space fills up the data_offset field
and bytesused is left as zero. Correct this.
Checking for data_offset > bytesused is not correct as it might fail some
Hey,
op 20-06-14 22:52, Thierry Reding schreef:
> On Thu, Jun 19, 2014 at 02:28:14PM +0200, Daniel Vetter wrote:
>> On Thu, Jun 19, 2014 at 1:48 PM, Thierry Reding
>> wrote:
> With these changes, can we pull the android sync logic out of
> drivers/staging/ now?
Afaik the google guys
On 06/21/2014 12:53 PM, Mauro Carvalho Chehab wrote:
> Em Sat, 21 Jun 2014 08:07:57 +0200
> Hans Verkuil escreveu:
>
>> On 06/21/2014 12:29 AM, Mauro Carvalho Chehab wrote:
>>> Em Sat, 21 Jun 2014 00:07:19 +0200
>>> Hans Verkuil escreveu:
>>>
On 06/20/2014 10:31 PM, Gregor Jasny wrote:
On 06/21/2014 12:07 AM, Hans Verkuil wrote:
> On 06/20/2014 10:31 PM, Gregor Jasny wrote:
>> Hello,
>>
>> It's been 11 months since the 1.0.0 release. What do you think about
>> releasing HEAD? Do you have any pending commits?
>
> I've got two patches from Laurent pending that ensure that the 'ins
On 06/22/2014 12:47 PM, Nikhil Devshatwar wrote:
> verify_planes would fail if the user space fills up the data_offset field
> and bytesused is left as zero. Correct this.
>
> Checking for data_offset > bytesused is not correct as it might fail some of
> the valid use cases. e.g. when working with
51 matches
Mail list logo