2024-04-13 06:56:31

by Jianfeng Liu

[permalink] [raw]
Subject: [PATCH v5 2/2] dt-bindings: media: rockchip-vpu: Add rk3588 vdpu121 compatible string

Add Hantro G1 VPU compatible string for RK3588.
RK3588 has the same Hantro G1 ip as RK3568, which are both
known as VDPU121 in TRM of RK3568 and RK3588.

Signed-off-by: Jianfeng Liu <[email protected]>
---
Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
index c57e1f488..4f667db91 100644
--- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
+++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
@@ -31,6 +31,9 @@ properties:
- items:
- const: rockchip,rk3228-vpu
- const: rockchip,rk3399-vpu
+ - items:
+ - const: rockchip,rk3588-vdpu121
+ - const: rockchip,rk3568-vpu

reg:
maxItems: 1
--
2.34.1



2024-04-13 07:44:21

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v5 2/2] dt-bindings: media: rockchip-vpu: Add rk3588 vdpu121 compatible string

On 13/04/2024 08:46, Jianfeng Liu wrote:
> Add Hantro G1 VPU compatible string for RK3588.
> RK3588 has the same Hantro G1 ip as RK3568, which are both
> known as VDPU121 in TRM of RK3568 and RK3588.
>
> Signed-off-by: Jianfeng Liu <[email protected]>

This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions, under or above your Signed-off-by tag. Tag is "received", when
provided in a message replied to you on the mailing list. Tools like b4
can help here. However, there's no need to repost patches *only* to add
the tags. The upstream maintainer will do that for tags received on the
version they apply.

https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577

If a tag was not added on purpose, please state why and what changed.

Best regards,
Krzysztof


2024-04-13 15:57:50

by Jianfeng Liu

[permalink] [raw]
Subject: Re: Re: [PATCH v5 2/2] dt-bindings: media: rockchip-vpu: Add rk3588 vdpu121 compatible string

Hi Krzysztof,

I'm sorry for my unkonwing about the kernel patching process. And I'm
sorry to let maintainers do extra work. Thank you for teaching me this.
I will do this right in future patches.

I did received a Acked-by tag from Conor in v4:
Acked-by: Conor Dooley <[email protected]>

I note it here in case someone forgets this tag.

2024-04-14 18:37:49

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH v5 2/2] dt-bindings: media: rockchip-vpu: Add rk3588 vdpu121 compatible string

Hi,

On Sat, Apr 13, 2024 at 02:46:08PM +0800, Jianfeng Liu wrote:
> Add Hantro G1 VPU compatible string for RK3588.
> RK3588 has the same Hantro G1 ip as RK3568, which are both
> known as VDPU121 in TRM of RK3568 and RK3588.
>
> Signed-off-by: Jianfeng Liu <[email protected]>
> ---

Reviewed-by: Sebastian Reichel <[email protected]>

-- Sebastian

> Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
> index c57e1f488..4f667db91 100644
> --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
> +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml
> @@ -31,6 +31,9 @@ properties:
> - items:
> - const: rockchip,rk3228-vpu
> - const: rockchip,rk3399-vpu
> + - items:
> + - const: rockchip,rk3588-vdpu121
> + - const: rockchip,rk3568-vpu
>
> reg:
> maxItems: 1
> --
> 2.34.1
>
>


Attachments:
(No filename) (1.08 kB)
signature.asc (849.00 B)
Download all attachments

2024-04-18 09:28:09

by Diederik de Haas

[permalink] [raw]
Subject: Re: [PATCH v5 2/2] dt-bindings: media: rockchip-vpu: Add rk3588 vdpu121 compatible string

On Saturday, 13 April 2024 17:57:09 CEST Jianfeng Liu wrote:
> I'm sorry for my unkonwing about the kernel patching process. And I'm
> sorry to let maintainers do extra work. Thank you for teaching me this.
> I will do this right in future patches.
>
> I did received a Acked-by tag from Conor in v4:
> Acked-by: Conor Dooley <[email protected]>
>
> I note it here in case someone forgets this tag.

I think it's beneficial to send a v6 with the following changes:
1) Make this dt-bindings patch the first in the series
2) Make sure you've collected all the tags you've received to all the patches
3) Specify the base commit

ad 1) I don't know if it's a hard rule, but I've seen a consistent pattern
where the dt-binding changes come before those changes being applied to
DeviceTree files. It also makes sense as when the dt-binding change hasn't been
applied, then the DT file is technically invalid.

ad 2) You shouldn't make maintainers do extra work to get your patch(es)
merged; you want to make their work as easy as possible. Thus you do the
(extra) work and provide a new version of the patch(es).
Sending multiple versions in a single day is generally not recommended as you
should give reviewers some time to do the review. But it should be fine now as
several days have past without new reviews.

ad 3) The `git format-patch` command has a `--base=<commit>` parameter with
which you can make explicit upon which commit the patch is based.
That works a lot better/easier then a textual description.

HTH


Attachments:
signature.asc (235.00 B)
This is a digitally signed message part.

2024-04-18 16:09:33

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH v5 2/2] dt-bindings: media: rockchip-vpu: Add rk3588 vdpu121 compatible string

On Thu, Apr 18, 2024 at 11:19:56AM +0200, Diederik de Haas wrote:
> On Saturday, 13 April 2024 17:57:09 CEST Jianfeng Liu wrote:
> > I'm sorry for my unkonwing about the kernel patching process. And I'm
> > sorry to let maintainers do extra work. Thank you for teaching me this.
> > I will do this right in future patches.
> >
> > I did received a Acked-by tag from Conor in v4:
> > Acked-by: Conor Dooley <[email protected]>
> >
> > I note it here in case someone forgets this tag.
>
> I think it's beneficial to send a v6 with the following changes:
> 1) Make this dt-bindings patch the first in the series
> 2) Make sure you've collected all the tags you've received to all the patches
> 3) Specify the base commit
>
> ad 1) I don't know if it's a hard rule, but I've seen a consistent pattern
> where the dt-binding changes come before those changes being applied to
> DeviceTree files. It also makes sense as when the dt-binding change hasn't been
> applied, then the DT file is technically invalid.

It is definitely preferred, since there is tooling that checks for
undocumented compatibles etc that would see spurious errors during
bisection, were that to be done. Generally I wouldn't suggest resending
for the order though if it were the only thing amiss.

> ad 2) You shouldn't make maintainers do extra work to get your patch(es)
> merged; you want to make their work as easy as possible. Thus you do the
> (extra) work and provide a new version of the patch(es).
> Sending multiple versions in a single day is generally not recommended as you
> should give reviewers some time to do the review. But it should be fine now as
> several days have past without new reviews.

I dunno, the best way to save our time is to not omit the tags in the
first place (or give a reason as to why you did) as we'll likely pull up
the previous version of the series to see if all comments were
addressed, if made by another maintainer (at least I do that and Krzysztof
must have here). In my workflow sending another ack takes much less time
than looking up previous versions and checking to see if things were
dealt with - probably that's in-part to me lacking automation for dfn:
lore search from mutt though..

>
> ad 3) The `git format-patch` command has a `--base=<commit>` parameter with
> which you can make explicit upon which commit the patch is based.
> That works a lot better/easier then a textual description.
>
> HTH



Attachments:
(No filename) (2.44 kB)
signature.asc (235.00 B)
Download all attachments