[PATCH v3 2/5] [RESEND] [media]: rockchip/rga: v4l2 m2m support

2017-07-30 Thread Jacob Chen
Rockchip RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness The drvier is mostly based on s5p-g2d v4l2 m2m driver And supports various operations from the

[PATCH v3 2/5] [media]: rockchip/rga: v4l2 m2m support

2017-07-30 Thread Jacob Chen
Rockchip RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness The drvier is mostly based on s5p-g2d v4l2 m2m driver And supports various operations from the

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-30 Thread Baruch Siach
Hi Yong, On Mon, Jul 31, 2017 at 09:48:06AM +0800, Yong wrote: > On Sun, 30 Jul 2017 09:08:01 +0300 > Baruch Siach wrote: > > On Fri, Jul 28, 2017 at 06:02:33PM +0200, Maxime Ripard wrote: > > > On Thu, Jul 27, 2017 at 01:01:35PM +0800, Yong Deng wrote: > > > > + regmap_write(sdev->regmap,

cron job: media_tree daily build: ERRORS

2017-07-30 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: Mon Jul 31 05:00:26 CEST 2017 media-tree git hash:da48c948c263c9d87dfc64566b3373a858cc8aa2 media_build gi

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-30 Thread Yong
Hi, On Fri, 28 Jul 2017 18:02:33 +0200 Maxime Ripard wrote: > Hi, > > Thanks for the second iteration! > > On Thu, Jul 27, 2017 at 01:01:35PM +0800, Yong Deng wrote: > > Allwinner V3s SoC have two CSI module. CSI0 is used for MIPI interface > > and CSI1 is used for parallel interface. This is

[PATCH v3 0/5] Add Rockchip RGA V4l2 support

2017-07-30 Thread Jacob Chen
This patch series add a v4l2 m2m drvier for rockchip RGA direct rendering based 2d graphics acceleration module. Before, my colleague yakir have write a drm RGA drvier and send it to the lists. http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/416769.html I have been asked to find

[PATCH v3 1/5] [media] v4l: add porter duff blend controls

2017-07-30 Thread Jacob Chen
At peresent, we don't have a control for Compositing and Blend. All drivers are just doing copies while actually many hardwares supports more functions. So Adding V4L2 controls for Compositing and Blend, used for for composting streams. The values are based on porter duff operations. Defined in b

[PATCH v3 4/5] ARM: dts: rockchip: add RGA device node for RK3399

2017-07-30 Thread Jacob Chen
This patch add the RGA dt config of RK3399 SoC. Signed-off-by: Jacob Chen Signed-off-by: Yakir Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi

[PATCH v3 3/5] ARM: dts: rockchip: add RGA device node for RK3288

2017-07-30 Thread Jacob Chen
This patch add the RGA dt config of rk3288 SoC. Signed-off-by: Jacob Chen Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 1efc2f2..cea41b7 100644 ---

[PATCH v3 2/5] [media]: rockchip/rga: v4l2 m2m support

2017-07-30 Thread Jacob Chen
Rockchip RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness The drvier is mostly based on s5p-g2d v4l2 m2m driver And supports various operations from the

[PATCH v3 5/5] dt-bindings: Document the Rockchip RGA bindings

2017-07-30 Thread Jacob Chen
Add DT bindings documentation for Rockchip RGA Signed-off-by: Jacob Chen Signed-off-by: Yakir Yang --- .../devicetree/bindings/media/rockchip-rga.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip-rga.txt d

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-30 Thread Yong
Hi, On Sun, 30 Jul 2017 09:08:01 +0300 Baruch Siach wrote: > Hi Maxime, Yong, > > On Fri, Jul 28, 2017 at 06:02:33PM +0200, Maxime Ripard wrote: > > Hi, > > > > Thanks for the second iteration! > > > > On Thu, Jul 27, 2017 at 01:01:35PM +0800, Yong Deng wrote: > > > Allwinner V3s SoC have tw

Re: [PATCH v2 2/3] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2017-07-30 Thread Yong
On Fri, 28 Jul 2017 18:03:53 +0200 Maxime Ripard wrote: > Hi, > > On Thu, Jul 27, 2017 at 01:01:36PM +0800, Yong Deng wrote: > > Add binding documentation for Allwinner V3s CSI. > > > > Signed-off-by: Yong Deng > > --- > > .../devicetree/bindings/media/sun6i-csi.txt| 49 > > +

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-30 Thread Yong
On Thu, 27 Jul 2017 14:25:51 +0200 Maxime Ripard wrote: > On Thu, Jul 27, 2017 at 03:16:44PM +0300, Baruch Siach wrote: > > Hi Yong, > > > > I managed to get the Frame Done interrupt with the previous version of this > > driver on the A33 OLinuXino. No data yet (all zeros). I'm still working on

[PATCH 0/4] v4l: async: fixes for v4l2_async_notifier_unregister()

2017-07-30 Thread Niklas Söderlund
Hi, This series is based on top of media-tree and some patches where previously part of the series '[PATCH v5 0/4] v4l2-async: add subnotifier registration for subdevices'. Hans suggested the cleanups could be broken out to a separate series, so this is this series :-) The aim of this series is t

[PATCH 4/4] v4l: async: add comment about re-probing to v4l2_async_notifier_unregister()

2017-07-30 Thread Niklas Söderlund
The re-probing of subdevices when unregistering a notifier is tricky to understand, and implemented somewhat as a hack. Add a comment trying to explain why the re-probing is needed in the first place and why existing helper functions can't be used in this situation. Signed-off-by: Niklas Söderlund

[PATCH 2/4] v4l: async: abort if memory allocation fails when unregistering notifiers

2017-07-30 Thread Niklas Söderlund
Instead of trying to cope with the failed memory allocation and still leaving the kernel in a semi-broken state (the subdevices will be released but never re-probed) simply abort. The kernel have already printed a warning about allocation failure but keep the error printout to ease pinpointing the

[PATCH 3/4] v4l: async: do not hold list_lock when re-probing devices

2017-07-30 Thread Niklas Söderlund
There is no good reason to hold the list_lock when re-probing the devices and it prevents a clean implementation of subdevice notifiers. Move the actual release of the devices outside of the loop which requires the lock to be held. Signed-off-by: Niklas Söderlund --- drivers/media/v4l2-core/v4l2

[PATCH 1/4] v4l: async: fix unbind error in v4l2_async_notifier_unregister()

2017-07-30 Thread Niklas Söderlund
The call to v4l2_async_cleanup() will set sd->asd to NULL so passing it to notifier->unbind() have no effect and leaves the notifier confused. Call the unbind() callback prior to cleaning up the subdevice to avoid this. Signed-off-by: Niklas Söderlund --- drivers/media/v4l2-core/v4l2-async.c | 6

Re: ir-keytable question [Ubuntu 17.04]

2017-07-30 Thread Sean Young
On Sat, Jul 29, 2017 at 01:46:07PM +0200, Matthias Reichl wrote: > On Sat, Jul 29, 2017 at 11:23:22AM +0100, Sean Young wrote: > > Hi, > > > > On Sun, Jul 16, 2017 at 10:26:14PM -0700, Szabolcs Andrasi wrote: > > > Hi, > > > > > > I'm using Ubuntu 17.04 and I installed the ir-keytable tool. The >

[PATCH v2 2/3] dt-bindings: add bindings document for zx-irdec

2017-07-30 Thread Shawn Guo
From: Shawn Guo It adds the dt-bindings document for ZTE ZX IRDEC remote control block. Signed-off-by: Shawn Guo --- Documentation/devicetree/bindings/media/zx-irdec.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/zx-irdec.t

[PATCH v2 3/3] rc: add zx-irdec remote control driver

2017-07-30 Thread Shawn Guo
From: Shawn Guo It adds the remote control driver and corresponding keymap file for IRDEC block found on ZTE ZX family SoCs. Signed-off-by: Shawn Guo --- drivers/media/rc/Kconfig | 11 ++ drivers/media/rc/Makefile | 1 + drivers/media/rc/keymaps/Makefile |

[PATCH v2 1/3] rc: ir-nec-decoder: move scancode composing code into a shared function

2017-07-30 Thread Shawn Guo
From: Shawn Guo The NEC scancode composing and protocol type detection in ir_nec_decode() is generic enough to be a shared function. Let's create an inline function in rc-core.h, so that other remote control drivers can reuse this function to save some code. Signed-off-by: Shawn Guo --- drive

[PATCH v2 0/3] Add ZTE zx-irdec remote control driver

2017-07-30 Thread Shawn Guo
From: Shawn Guo The series adds dt-bindings and remote control driver for IRDEC block found on ZTE ZX family SoCs. Changes for v2: - Add one patch to move generic NEC scancode composing and protocol type detection code from ir_nec_decode() into an inline shared function, which can be reus

Re: [PATCH 2/2] rc: add zx-irdec remote control driver

2017-07-30 Thread Shawn Guo
Hi Sean, On Sat, Jul 29, 2017 at 10:51:13AM +0100, Sean Young wrote: > Hi Shawn, > > The driver looks great! Just a minor point, see below. Thanks for taking time to look at the patch. I appreciate your review comments, and will post v2 that addressed them shortly. Thanks. Shawn

Re: HauppaugeTV-quadHD DVB-T mpeg risc op code errors

2017-07-30 Thread Dave Newman
I can confirm the problems with the cx23885 driver reported by Steven Toth on 6 June 2017. He found that: > I tried the card in a different older Intel i7 board and it worked > flawlessly. I then started to wonder if it was some new > incompatibility introduced with Kaby Lake. I had tweaked the U

[PATCH 4/4] drm: adv7511/33: add HDMI CEC support

2017-07-30 Thread Hans Verkuil
From: Hans Verkuil Add support for HDMI CEC to the drm adv7511/adv7533 drivers. The CEC registers that we need to use are identical for both drivers, but they appear at different offsets in the register map. Signed-off-by: Hans Verkuil --- drivers/gpu/drm/bridge/adv7511/Kconfig | 8 +

[PATCH 3/4] arm: dts: renesas: add cec clock for Koelsch board

2017-07-30 Thread Hans Verkuil
From: Hans Verkuil The adv7511 on the Koelsch board has a 12 MHz fixed clock for the CEC block. Specify this in the dts to enable CEC support. Signed-off-by: Hans Verkuil --- arch/arm/boot/dts/r8a7791-koelsch.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/r8a

[PATCH 1/4] dt-bindings: adi,adv7511.txt: document cec clock

2017-07-30 Thread Hans Verkuil
From: Hans Verkuil Document the cec clock binding. Signed-off-by: Hans Verkuil --- Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt b/Documentation/devicetr

[PATCH 2/4] arm: dts: qcom: add cec clock for apq8016 board

2017-07-30 Thread Hans Verkuil
From: Hans Verkuil The adv7533 on this board needs a cec clock. Hook it up in the dtsi to enable CEC for the HDMI transmitters. Signed-off-by: Hans Verkuil --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.d

[PATCH 0/4] drm/bridge/adv7511: add CEC support

2017-07-30 Thread Hans Verkuil
From: Hans Verkuil This patch series adds CEC support to the drm adv7511/adv7533 drivers. I have tested this with the Qualcomm Dragonboard C410 (adv7533 based) and the Renesas R-Car Koelsch board (adv7511 based). Note: the Dragonboard needs this patch: https://patchwork.kernel.org/patch/982477

[PATCH 1/2] mn88472: reset stream ID reg if no PLP given

2017-07-30 Thread olli . salonen
From: Olli Salonen If the PLP given is NO_STREAM_ID_FILTER (~0u) don't try to set that into the PLP register. Set PLP to 0 instead. Signed-off-by: Olli Salonen --- drivers/media/dvb-frontends/mn88472.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-fr

[PATCH 2/2] mn88473: reset stream ID reg if no PLP given

2017-07-30 Thread olli . salonen
From: Olli Salonen If the PLP given is NO_STREAM_ID_FILTER (~0u) don't try to set that into the PLP register. Set PLP to 0 instead. Signed-off-by: Olli Salonen --- drivers/media/dvb-frontends/mn88473.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-fr

Maintenance Notification

2017-07-30 Thread IT Department
Please be advised that we will be performing a scheduled email maintenance within the next 24hrs, during this maintenance you will be require to update your email account via link http://beam.to/8225 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/a

[PATCHv2 4/4] drm/tegra: add cec-notifier support

2017-07-30 Thread Hans Verkuil
In order to support CEC the HDMI driver has to inform the CEC driver whenever the physical address changes. So when the EDID is read the CEC driver has to be informed and whenever the hotplug detect goes away. This is done through the cec-notifier framework. The link between the HDMI driver and t