[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8137fbb3-036a-95e4-2642-5dd46fb55eb9@xs4all.nl>
Date: Mon, 21 Oct 2019 13:13:20 +0200
From: Hans Verkuil <hverkuil@...all.nl>
To: Jernej Skrabec <jernej.skrabec@...l.net>, mripard@...nel.org,
wens@...e.org
Cc: robh+dt@...nel.org, mark.rutland@....com, mchehab@...nel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-sunxi@...glegroups.com
Subject: Re: [PATCH v4 5/6] media: sun4i: Add H3 deinterlace driver
On 10/17/19 8:37 PM, Jernej Skrabec wrote:
> Allwinner H3 SoC contains deinterlace unit, which has several modes of
> operation - bypass, weave, bob and mixed (advanced) mode. I don't know
> how mixed mode works, but according to Allwinner it gives best results,
> so they use it exclusively. Currently this mode is also hardcoded here.
>
> For each interleaved frame queued, this driver produces 2 deinterlaced
> frames. Deinterlaced frames are based on 2 consequtive output buffers,
> except for the first 2, where same output buffer is given to peripheral
> as current and previous.
>
> There is no documentation for this core, so register layout and fixed
> values were taken from BSP driver.
>
> I'm not sure if maximum size of the image unit is capable to process is
> governed by size of "flag" buffers, frequency or it really is some HW
> limitation. Currently driver can process full HD image in ~15ms (7.5ms
> for each capture buffer), which allows to process 1920x1080@60i video
> smoothly in real time.
>
> Acked-by: Maxime Ripard <mripard@...nel.org>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@...l.net>
> ---
> MAINTAINERS | 7 +
> drivers/media/platform/Kconfig | 12 +
> drivers/media/platform/sunxi/Makefile | 1 +
> .../media/platform/sunxi/sun8i-di/Makefile | 2 +
> .../media/platform/sunxi/sun8i-di/sun8i-di.c | 1028 +++++++++++++++++
> .../media/platform/sunxi/sun8i-di/sun8i-di.h | 237 ++++
> 6 files changed, 1287 insertions(+)
> create mode 100644 drivers/media/platform/sunxi/sun8i-di/Makefile
> create mode 100644 drivers/media/platform/sunxi/sun8i-di/sun8i-di.c
> create mode 100644 drivers/media/platform/sunxi/sun8i-di/sun8i-di.h
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index c7b48525822a..c375455125fb 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -4646,6 +4646,13 @@ M: "Maciej W. Rozycki" <macro@...ux-mips.org>
> S: Maintained
> F: drivers/net/fddi/defxx.*
>
> +DEINTERLACE DRIVERS FOR ALLWINNER H3
> +M: Jernej Skrabec <jernej.skrabec@...l.net>
> +L: linux-media@...r.kernel.org
> +T: git git://linuxtv.org/media_tree.git
> +S: Maintained
> +F: drivers/media/platform/sunxi/sun8i-di/
This is missing the bindings file added in the previous patch.
Regards,
Hans
> +
> DELL SMBIOS DRIVER
> M: Pali Rohár <pali.rohar@...il.com>
> M: Mario Limonciello <mario.limonciello@...l.com>
Powered by blists - more mailing lists