Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-26 Thread Ivaylo Dimitrov
Hi, On 27.04.2016 06:08, Sebastian Reichel wrote: Hi, On Mon, Apr 25, 2016 at 12:08:00AM +0300, Ivaylo Dimitrov wrote: Those patch series make cameras on Nokia N900 partially working. Some more patches are needed, but I've already sent them for upstreaming so they are not part of the series:

Re: [RFC PATCH 00/24] Make Nokia N900 cameras working

2016-04-26 Thread Sebastian Reichel
Hi, On Mon, Apr 25, 2016 at 12:08:00AM +0300, Ivaylo Dimitrov wrote: > Those patch series make cameras on Nokia N900 partially working. > Some more patches are needed, but I've already sent them for > upstreaming so they are not part of the series: > > https://lkml.org/lkml/2016/4/16/14 >

[PATCH] media: fix media_ioctl use-after-free when driver unbinds

2016-04-26 Thread Shuah Khan
When driver unbind is run while media_ioctl is in progress, media_ioctl() fails with use-after-free. This first use-after-free is followed by more user-after-free errors in media_release(), kobject_put(), and cdev_put() as driver unbind continues. This problem is found on uvcvideo, em28xx, and

cron job: media_tree daily build: OK

2016-04-26 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 Apr 27 04:00:30 CEST 2016 git branch: test git hash: 45c175c4ae9695d6d2f30a45ab7f3866cfac184b gcc

[PATCH 0/2] Fix ir-rx51 by using PWM pdata

2016-04-26 Thread Tony Lindgren
Hi all, Here are minimal fixes to get ir-rx51 going again. Then further fixes can be done as noted in the second patch. Regards, Tony Tony Lindgren (2): ARM: OMAP2+: Add more functions to pwm pdata for ir-rx51 [media] ir-rx51: Fix build after multiarch changes broke it

[PATCH 1/2] ARM: OMAP2+: Add more functions to pwm pdata for ir-rx51

2016-04-26 Thread Tony Lindgren
Before we start removing omap3 legacy booting support, let's make n900 DT booting behave the same way for ir-rx51 as the legacy booting does. For now, we need to pass pdata to the ir-rx51 driver. This means that the n900 tree can move to using DT based booting without having to carry all the

[PATCH 2/2] [media] ir-rx51: Fix build after multiarch changes broke it

2016-04-26 Thread Tony Lindgren
The ir-rx51 driver for n900 has been disabled since the multiarch changes as plat include directory no longer is SoC specific. Let's fix it with minimal changes to pass the dmtimer calls in pdata. Then the following changes can be done while things can be tested to be working for each change: 1.

Re: [PATCH v2 08/13] v4l: vsp1: Make vsp1_entity_get_pad_compose() more generic

2016-04-26 Thread Sergei Shtylyov
Hello. On 04/26/2016 12:36 AM, Laurent Pinchart wrote: Turn the helper into a function that can retrieve crop and compose selection rectangles. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_entity.c | 24

Re: [RFC PATCH v2 0/2] [media] tvp515p: Proposal for MC input connector support

2016-04-26 Thread Javier Martinez Canillas
On 04/12/2016 06:42 PM, Javier Martinez Canillas wrote: > Hello, > > This is a second version of an RFC patch series that adds MC input connector > support to the tvp5150 driver. The first RFC version was [0]. > > The patches are RFC because a previous version was merged and later reverted >

[PATCHv6] [media] rcar-vin: add Renesas R-Car VIN driver

2016-04-26 Thread Niklas Söderlund
A V4L2 driver for Renesas R-Car VIN driver that do not depend on soc_camera. The driver is heavily based on its predecessor and aims to replace it. Signed-off-by: Niklas Söderlund --- The patched is based on and depends on patches from the media_tree

dvbv5-scan does not find any DVBS2 channels

2016-04-26 Thread Bob Goddard
Like my previous email, I complained that dvbv5-scan does not find ANY DVBS2 channels on Astra28E, even with a single transponder listed in the source frequency file. I complained about this on 05/02/2016 15:05 and nothing has so far been does. It STILL fails. No doubt Mauro or whoever the

Errors in scan file

2016-04-26 Thread Bob Goddard
I posted an email with a patch back on 04/02/2016 17:32 only to find that nothing has been done. This patch, reproduced below adds 2 new transponders to Astra 28.2E and removes a trailing space. This trailing spaces causes dvbv5-scan to segfault. Why has this not been actioned and why was my

[PATCH] [media] tw686x: avoid going past array

2016-04-26 Thread Mauro Carvalho Chehab
Fix those two warnings: drivers/media/pci/tw686x/tw686x-video.c:69 tw686x_fields_map() error: buffer overflow 'std_525_60' 31 <= 31 drivers/media/pci/tw686x/tw686x-video.c:73 tw686x_fields_map() error: buffer overflow 'std_625_50' 26 <= 26 I had those changes at the last version

[PATCH v9 1/8] dt-bindings: Add a binding for Mediatek Video Processor

2016-04-26 Thread Tiffany Lin
From: Andrew-CT Chen Add a DT binding documentation of Video Processor Unit for the MT8173 SoC from Mediatek. Signed-off-by: Andrew-CT Chen Signed-off-by: Tiffany Lin Acked-by: Rob Herring

[PATCH v9 3/8] arm64: dts: mediatek: Add node for Mediatek Video Processor Unit

2016-04-26 Thread Tiffany Lin
From: Andrew-CT Chen Add VPU drivers for MT8173 Signed-off-by: Andrew-CT Chen Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 23 +++ 1 file changed, 23

[PATCH v9 4/8] dt-bindings: Add a binding for Mediatek Video Encoder

2016-04-26 Thread Tiffany Lin
Add a DT binding documentation of Video Encoder for the MT8173 SoC from Mediatek. Signed-off-by: Tiffany Lin Acked-by: Rob Herring --- .../devicetree/bindings/media/mediatek-vcodec.txt | 59 1 file changed, 59 insertions(+)

[PATCH v9 7/8] [media] vcodec: mediatek: Add Mediatek H264 Video Encoder Driver

2016-04-26 Thread Tiffany Lin
Add h264 encoder driver for MT8173 Signed-off-by: PoChun Lin Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |1 + .../media/platform/mtk-vcodec/venc/venc_h264_if.c | 677

[PATCH] [media] exynos-gsc: avoid build warning without CONFIG_OF

2016-04-26 Thread Arnd Bergmann
When building the exynos-gsc driver with CONFIG_OF disabled, we get a warning about an out-of-bounds access: drivers/media/platform/exynos-gsc/gsc-core.c: In function 'gsc_probe': drivers/media/platform/exynos-gsc/gsc-core.c:1078:34: error: array subscript is above array bounds

[PATCH v9 2/8] [media] VPU: mediatek: support Mediatek VPU

2016-04-26 Thread Tiffany Lin
From: Andrew-CT Chen The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs. It is able to handle video decoding/encoding of in a range of formats. The driver provides with VPU firmware download, memory management and the communication interface between

[PATCH v9 8/8] arm64: dts: mediatek: Add Video Encoder for MT8173

2016-04-26 Thread Tiffany Lin
Add video encoder node for MT8173 Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 39 ++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH v9 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-04-26 Thread Tiffany Lin
== Introduction == The purpose of this series is to add the driver for video codec hw embedded in the Mediatek's MT8173 SoCs. Mediatek Video Codec is able to handle video encoding of in a range of formats. This patch series also include VPU driver. Mediatek Video Codec

[PATCH v9 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-26 Thread Tiffany Lin
Add v4l2 layer encoder driver for MT8173 Signed-off-by: Tiffany Lin --- drivers/media/platform/Kconfig | 16 + drivers/media/platform/Makefile|2 + drivers/media/platform/mtk-vcodec/Makefile | 14 +

[PATCH v9 6/8] [media] vcodec: mediatek: Add Mediatek VP8 Video Encoder Driver

2016-04-26 Thread Tiffany Lin
Add vp8 encoder driver for MT8173 Signed-off-by: PoChun Lin Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |6 +- .../media/platform/mtk-vcodec/venc/venc_vp8_if.c | 479

Re: [PATCH v8 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-26 Thread Hans Verkuil
On 04/26/2016 04:17 AM, tiffany lin wrote: > Hi Hans, > > On Mon, 2016-04-25 at 15:13 +0200, Hans Verkuil wrote: >> On 04/25/2016 02:30 PM, Tiffany Lin wrote: >>> Add v4l2 layer encoder driver for MT8173 >>> >>> Signed-off-by: Tiffany Lin >>> >>> --- >>>

Re: dvb-s2 card "TeVii S472" (cx23885)

2016-04-26 Thread Olli Salonen
Hi Hendrik, Hans, My media_tree Hendrik is pulling from Github is just a rather recent copy of the media_tree master branch on git.linuxtv.org (it's missing like the last 10 patches that have been added within the last 24 hours) with 2 simple patches on top that should not break anything. Also,