From: Hans Verkuil <hverkuil@xs4all.nl>
To: "Jernej Škrabec" <jernej.skrabec@siol.net>
Cc: mripard@kernel.org, wens@csie.org, robh+dt@kernel.org,
mark.rutland@arm.com, mchehab@kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
linux-sunxi@googlegroups.com
Subject: Re: [PATCH v4 5/6] media: sun4i: Add H3 deinterlace driver
Date: Mon, 21 Oct 2019 17:07:19 +0200 [thread overview]
Message-ID: <639e09c3-05fa-a724-3aa2-2ccff1a2fe84@xs4all.nl> (raw)
In-Reply-To: <2174547.3yqp6rY4Nl@jernej-laptop>
On 10/21/19 4:47 PM, Jernej Škrabec wrote:
> Dne ponedeljek, 21. oktober 2019 ob 13:13:20 CEST je Hans Verkuil napisal(a):
>> 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@kernel.org>
>>> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.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@linux-mips.org>
>>>
>>> S: Maintained
>>> F: drivers/net/fddi/defxx.*
>>>
>>> +DEINTERLACE DRIVERS FOR ALLWINNER H3
>>> +M: Jernej Skrabec <jernej.skrabec@siol.net>
>>> +L: linux-media@vger.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.
>
> Well, I listed Maxime and Chen-Yu as binding maintainers in patch 4, so that's
> why I didn't include it here. If you think I should be maintainer of that
> binding too, I can change that. I took sun6i-csi as example where binding
> maintainers are Maxime and Chen-Yu and driver maintainer is Yong Deng.
Normally, whoever maintains the driver also maintains the corresponding bindings
documentation. It doesn't make much sense to have different people maintain it.
I see that the 'maintainers:' tag is now a valid way of describing maintainers.
But it doesn't appear to be read by scripts/get_maintainer.pl AFAICS.
So unless I am wrong about that I think it still should be added to MAINTAINERS.
It's certainly done for other drivers (grep yaml MAINTAINERS).
In my view you should include yourself as maintainer of this bindings doc, and
add it to the MAINTAINERS file.
Regards,
Hans
>
> Best regards,
> Jernej
>
>>
>> Regards,
>>
>> Hans
>>
>>> +
>>>
>>> DELL SMBIOS DRIVER
>>> M: Pali Rohár <pali.rohar@gmail.com>
>>> M: Mario Limonciello <mario.limonciello@dell.com>
>
>
>
>
next prev parent reply other threads:[~2019-10-21 15:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-17 18:37 [PATCH v4 0/6] media: Introduce Allwinner " Jernej Skrabec
2019-10-17 18:37 ` [PATCH v4 1/6] dt-bindings: bus: sunxi: Add H3 MBUS compatible Jernej Skrabec
2019-10-17 18:37 ` [PATCH v4 2/6] clk: sunxi-ng: h3: Export MBUS clock Jernej Skrabec
2019-10-17 18:37 ` [PATCH v4 3/6] ARM: dts: sunxi: h3/h5: Add MBUS controller node Jernej Skrabec
2019-10-17 18:37 ` [PATCH v4 4/6] dt-bindings: media: Add Allwinner H3 Deinterlace binding Jernej Skrabec
2019-10-17 18:37 ` [PATCH v4 5/6] media: sun4i: Add H3 deinterlace driver Jernej Skrabec
2019-10-21 11:13 ` Hans Verkuil
2019-10-21 14:47 ` Jernej Škrabec
2019-10-21 15:07 ` Hans Verkuil [this message]
2019-10-17 18:37 ` [PATCH v4 6/6] dts: arm: sun8i: h3: Enable deinterlace unit Jernej Skrabec
2019-10-21 11:16 ` [PATCH v4 0/6] media: Introduce Allwinner H3 deinterlace driver Hans Verkuil
2019-10-21 14:38 ` Jernej Škrabec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=639e09c3-05fa-a724-3aa2-2ccff1a2fe84@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@siol.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=mark.rutland@arm.com \
--cc=mchehab@kernel.org \
--cc=mripard@kernel.org \
--cc=robh+dt@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®