linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolas Dufresne <nicolas.dufresne@gmail.com>
To: Alexander Stein <alexander.stein@ew.tq-group.com>,
	Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	 Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] media: verisilicon: Move rockchip hardware drivers to the corresponding option
Date: Thu, 20 Jun 2024 16:08:35 -0400	[thread overview]
Message-ID: <6a6e42f6980da2e76d25b2315b206457afe9043e.camel@gmail.com> (raw)
In-Reply-To: <20240620063313.2309767-1-alexander.stein@ew.tq-group.com>

Hi,

Le jeudi 20 juin 2024 à 08:33 +0200, Alexander Stein a écrit :
> There is no need to compile the rockchip specific drivers if
> CONFIG_VIDEO_HANTRO_ROCKCHIP is not set.
> All driver functions are only referenced by rockchip_vpu_hw.c which is
> already under this option.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Thanks, just like many bugfix, its nice to see backported, but this can happen
without Fixes tag. To make this more convenient, would you mind splitting this
change in 2 parts:

> ---
>  drivers/media/platform/verisilicon/Makefile | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/media/platform/verisilicon/Makefile b/drivers/media/platform/verisilicon/Makefile
> index eb38a1833b02..f6f019d04ff0 100644
> --- a/drivers/media/platform/verisilicon/Makefile
> +++ b/drivers/media/platform/verisilicon/Makefile
> @@ -14,13 +14,6 @@ hantro-vpu-y += \
>  		hantro_g2.o \
>  		hantro_g2_hevc_dec.o \
>  		hantro_g2_vp9_dec.o \
> -		rockchip_vpu2_hw_jpeg_enc.o \
> -		rockchip_vpu2_hw_h264_dec.o \
> -		rockchip_vpu2_hw_mpeg2_dec.o \
> -		rockchip_vpu2_hw_vp8_dec.o \

This got merged in 5.3, so that would be patch 1/2, with:

Fixes: c9caebd57b3a ("media: hantro: merge Rockchip platform drivers")
Fixes: c07665f99386 ("media: hantro: Add H.264 support for Rockchip VDPU2")

The first Fixes is not fully accurate, but should do.

> -		rockchip_vpu981_hw_av1_dec.o \
> -		rockchip_av1_filmgrain.o \
> -		rockchip_av1_entropymode.o \

This got merged in 6.3, so that would be patch 2/2, with:

Fixes: 727a400686a2 ("media: verisilicon: Add Rockchip AV1 decoder")
Fixes: d8ebe59e7b36 ("media: verisilicon: Add film grain feature to AV1 driver")
Fixes: c0d0e579db4e ("media: verisilicon: Add AV1 entropy helpers")

With this minor change, you can also add:

Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>

> 
>  		hantro_jpeg.o \
>  		hantro_h264.o \
>  		hantro_hevc.o \
> @@ -35,6 +28,13 @@ hantro-vpu-$(CONFIG_VIDEO_HANTRO_SAMA5D4) += \
>  		sama5d4_vdec_hw.o
>  
>  hantro-vpu-$(CONFIG_VIDEO_HANTRO_ROCKCHIP) += \
> +		rockchip_vpu2_hw_jpeg_enc.o \
> +		rockchip_vpu2_hw_h264_dec.o \
> +		rockchip_vpu2_hw_mpeg2_dec.o \
> +		rockchip_vpu2_hw_vp8_dec.o \
> +		rockchip_vpu981_hw_av1_dec.o \
> +		rockchip_av1_filmgrain.o \
> +		rockchip_av1_entropymode.o \
>  		rockchip_vpu_hw.o
>  
>  hantro-vpu-$(CONFIG_VIDEO_HANTRO_SUNXI) += \


      reply	other threads:[~2024-06-20 20:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20  6:33 [PATCH 1/1] media: verisilicon: Move rockchip hardware drivers to the corresponding option Alexander Stein
2024-06-20 20:08 ` Nicolas Dufresne [this message]

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=6a6e42f6980da2e76d25b2315b206457afe9043e.camel@gmail.com \
    --to=nicolas.dufresne@gmail.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mchehab@kernel.org \
    --cc=p.zabel@pengutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).