From: kernel test robot <lkp@intel.com>
To: "Sven Püschel" <s.pueschel@pengutronix.de>,
"Jacob Chen" <jacob-chen@iotwrt.com>,
"Ezequiel Garcia" <ezequiel@vanguardiasur.com.ar>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
kernel@pengutronix.de, "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: Re: [PATCH 16/16] media: rockchip: rga: add rga3 support
Date: Sat, 11 Oct 2025 13:32:51 +0800 [thread overview]
Message-ID: <202510111354.QeqIltfU-lkp@intel.com> (raw)
In-Reply-To: <20251007-spu-rga3-v1-16-36ad85570402@pengutronix.de>
Hi Sven,
kernel test robot noticed the following build warnings:
[auto build test WARNING on afb100a5ea7a13d7e6937dcd3b36b19dc6cc9328]
url: https://github.com/intel-lab-lkp/linux/commits/Sven-P-schel/media-rockchip-rga-use-clk_bulk-api/20251010-104411
base: afb100a5ea7a13d7e6937dcd3b36b19dc6cc9328
patch link: https://lore.kernel.org/r/20251007-spu-rga3-v1-16-36ad85570402%40pengutronix.de
patch subject: [PATCH 16/16] media: rockchip: rga: add rga3 support
config: riscv-randconfig-002-20251011 (https://download.01.org/0day-ci/archive/20251011/202510111354.QeqIltfU-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 39f292ffa13d7ca0d1edff27ac8fd55024bb4d19)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251011/202510111354.QeqIltfU-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510111354.QeqIltfU-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/platform/rockchip/rga/rga3-hw.c:144:15: warning: variable 'src_h' set but not used [-Wunused-but-set-variable]
144 | unsigned int src_h, src_w, dst_h, dst_w;
| ^
>> drivers/media/platform/rockchip/rga/rga3-hw.c:144:22: warning: variable 'src_w' set but not used [-Wunused-but-set-variable]
144 | unsigned int src_h, src_w, dst_h, dst_w;
| ^
>> drivers/media/platform/rockchip/rga/rga3-hw.c:144:29: warning: variable 'dst_h' set but not used [-Wunused-but-set-variable]
144 | unsigned int src_h, src_w, dst_h, dst_w;
| ^
>> drivers/media/platform/rockchip/rga/rga3-hw.c:144:36: warning: variable 'dst_w' set but not used [-Wunused-but-set-variable]
144 | unsigned int src_h, src_w, dst_h, dst_w;
| ^
4 warnings generated.
vim +/src_h +144 drivers/media/platform/rockchip/rga/rga3-hw.c
137
138 static void rga3_cmd_set_win0_format(struct rga_ctx *ctx)
139 {
140 u32 *cmd = ctx->rga->cmdbuf_virt;
141 const struct rga3_fmt *in = ctx->in.fmt;
142 const struct rga3_fmt *out = ctx->out.fmt;
143 const struct v4l2_format_info *in_fmt, *out_fmt;
> 144 unsigned int src_h, src_w, dst_h, dst_w;
145 bool r2y, y2r;
146 u8 rd_format;
147 unsigned int reg;
148
149 src_h = ctx->in.crop.height;
150 src_w = ctx->in.crop.width;
151 dst_h = ctx->out.crop.height;
152 dst_w = ctx->out.crop.width;
153
154 in_fmt = v4l2_format_info(in->fourcc);
155 out_fmt = v4l2_format_info(out->fourcc);
156 r2y = v4l2_is_format_rgb(in_fmt) && v4l2_is_format_yuv(out_fmt);
157 y2r = v4l2_is_format_yuv(in_fmt) && v4l2_is_format_rgb(out_fmt);
158
159 if (in->semi_planar)
160 rd_format = RGA3_RDWR_FORMAT_SEMI_PLANAR;
161 else
162 rd_format = RGA3_RDWR_FORMAT_INTERLEAVED;
163
164 reg = RGA3_WIN0_RD_CTRL - RGA3_FIRST_CMD_REG;
165 cmd[reg >> 2] |= FIELD_PREP(RGA3_WIN_PIC_FORMAT, in->hw_format)
166 | FIELD_PREP(RGA3_WIN_YC_SWAP, in->yc_swap)
167 | FIELD_PREP(RGA3_WIN_RBUV_SWAP, in->rbuv_swap)
168 | FIELD_PREP(RGA3_WIN_RD_FORMAT, rd_format)
169 | FIELD_PREP(RGA3_WIN_R2Y, r2y)
170 | FIELD_PREP(RGA3_WIN_Y2R, y2r)
171 | FIELD_PREP(RGA3_WIN_CSC_MODE, RGA3_WIN_CSC_MODE_BT601_F);
172 }
173
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-10-11 5:33 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-07 8:31 [PATCH 00/16] media: platform: rga: Add RGA3 support Sven Püschel
2025-10-07 8:31 ` [PATCH 01/16] media: rockchip: rga: use clk_bulk api Sven Püschel
2025-10-07 8:31 ` [PATCH 02/16] media: rockchip: rga: use stride for offset calculation Sven Püschel
2025-10-07 8:31 ` [PATCH 03/16] media: rockchip: rga: align stride to 16 bytes Sven Püschel
2025-10-07 18:19 ` Nicolas Dufresne
2025-12-02 14:36 ` Sven Püschel
2025-10-07 8:31 ` [PATCH 04/16] media: rockchip: rga: move hw specific parts to a dedicated struct Sven Püschel
2025-10-07 8:31 ` [PATCH 05/16] media: rockchip: rga: use card type to specify rga type Sven Püschel
2025-10-07 8:31 ` [PATCH 06/16] media: rockchip: rga: change offset to dma_addresses Sven Püschel
2025-10-07 8:32 ` [PATCH 07/16] media: rockchip: rga: support external iommus Sven Püschel
2025-10-07 8:32 ` [PATCH 08/16] media: rockchip: rga: remove size from rga_frame Sven Püschel
2025-10-07 8:32 ` [PATCH 09/16] media: rockchip: rga: remove stride " Sven Püschel
2025-10-07 8:32 ` [PATCH 10/16] media: rockchip: rga: move rga_fmt to rga-hw.h Sven Püschel
2025-10-07 8:32 ` [PATCH 11/16] media: rockchip: rga: add iommu restore function Sven Püschel
2025-10-07 18:30 ` Nicolas Dufresne
2025-10-10 8:45 ` Sven Püschel
2025-10-10 13:10 ` Nicolas Dufresne
2025-10-07 8:32 ` [PATCH 12/16] media: rockchip: rga: handle error interrupt Sven Püschel
2025-10-07 18:47 ` Nicolas Dufresne
2025-10-07 8:32 ` [PATCH 13/16] media: dt-bindings: media: rockchip-rga: add rockchip,rk3588-rga3 Sven Püschel
2025-10-07 8:38 ` Krzysztof Kozlowski
2025-10-07 18:12 ` Nicolas Dufresne
2025-10-07 8:32 ` [PATCH 14/16] arm64: dts: rockchip: add rga3 dt nodes Sven Püschel
2025-10-07 8:32 ` [PATCH 15/16] arm64: dts: rockchip: increase rga3 clock speed Sven Püschel
2025-10-07 8:39 ` Krzysztof Kozlowski
2025-10-07 8:32 ` [PATCH 16/16] media: rockchip: rga: add rga3 support Sven Püschel
2025-10-07 8:39 ` Krzysztof Kozlowski
2025-10-07 16:05 ` Sven Püschel
2025-10-08 1:55 ` Krzysztof Kozlowski
2025-10-07 18:54 ` Nicolas Dufresne
2025-10-07 19:41 ` Nicolas Dufresne
2025-10-10 9:21 ` Sven Püschel
2025-12-03 9:49 ` Sven Püschel
2025-12-03 18:17 ` Nicolas Dufresne
2025-10-11 5:32 ` kernel test robot [this message]
2025-10-07 18:06 ` [PATCH 00/16] media: platform: rga: Add RGA3 support Nicolas Dufresne
2025-10-10 8:33 ` Sven Püschel
2025-10-10 13:05 ` Nicolas Dufresne
2025-10-09 22:03 ` Rob Herring (Arm)
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=202510111354.QeqIltfU-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=heiko@sntech.de \
--cc=jacob-chen@iotwrt.com \
--cc=kernel@pengutronix.de \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=llvm@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=s.pueschel@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