From: kernel test robot <lkp@intel.com>
To: Gjorgji Rosikopulos <quic_grosikop@quicinc.com>,
rfoss@kernel.org, todor.too@gmail.com,
bryan.odonoghue@linaro.org, andersson@kernel.org,
konrad.dybcio@linaro.org, mchehab@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
laurent.pinchart@ideasonboard.com, hverkuil-cisco@xs4all.nl,
quic_hariramp@quicinc.com
Subject: Re: [PATCH v4 6/8] media: qcom: camss: Split testgen, RDI and RX for CSID 170
Date: Thu, 23 May 2024 20:59:37 +0800 [thread overview]
Message-ID: <202405232059.8lLokYw2-lkp@intel.com> (raw)
In-Reply-To: <20240522154659.510-7-quic_grosikop@quicinc.com>
Hi Gjorgji,
kernel test robot noticed the following build warnings:
[auto build test WARNING on media-tree/master]
[also build test WARNING on linus/master next-20240523]
[cannot apply to v6.9]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Gjorgji-Rosikopulos/media-qcom-camss-Add-per-sub-device-type-resources/20240522-235220
base: git://linuxtv.org/media_tree.git master
patch link: https://lore.kernel.org/r/20240522154659.510-7-quic_grosikop%40quicinc.com
patch subject: [PATCH v4 6/8] media: qcom: camss: Split testgen, RDI and RX for CSID 170
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240523/202405232059.8lLokYw2-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240523/202405232059.8lLokYw2-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/202405232059.8lLokYw2-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/media/platform/qcom/camss/camss-csid-gen2.c: In function '__csid_configure_rdi_stream':
>> drivers/media/platform/qcom/camss/camss-csid-gen2.c:265:13: warning: variable 'phy_sel' set but not used [-Wunused-but-set-variable]
265 | u32 phy_sel = 0;
| ^~~~~~~
vim +/phy_sel +265 drivers/media/platform/qcom/camss/camss-csid-gen2.c
260
261 static void __csid_configure_rdi_stream(struct csid_device *csid, u8 enable, u8 vc)
262 {
263 struct csid_testgen_config *tg = &csid->testgen;
264 u32 val;
> 265 u32 phy_sel = 0;
266 /* Source pads matching RDI channels on hardware. Pad 1 -> RDI0, Pad 2 -> RDI1, etc. */
267 struct v4l2_mbus_framefmt *input_format = &csid->fmt[MSM_CSID_PAD_FIRST_SRC + vc];
268 const struct csid_format_info *format = csid_get_fmt_entry(csid->res->formats->formats,
269 csid->res->formats->nformats,
270 input_format->code);
271
272 if (!tg->enabled)
273 phy_sel = csid->phy.csiphy_id;
274
275 /*
276 * DT_ID is a two bit bitfield that is concatenated with
277 * the four least significant bits of the five bit VC
278 * bitfield to generate an internal CID value.
279 *
280 * CSID_RDI_CFG0(vc)
281 * DT_ID : 28:27
282 * VC : 26:22
283 * DT : 21:16
284 *
285 * CID : VC 3:0 << 2 | DT_ID 1:0
286 */
287 u8 dt_id = vc & 0x03;
288
289 val = 1 << RDI_CFG0_BYTE_CNTR_EN;
290 val |= 1 << RDI_CFG0_FORMAT_MEASURE_EN;
291 val |= 1 << RDI_CFG0_TIMESTAMP_EN;
292 /* note: for non-RDI path, this should be format->decode_format */
293 val |= DECODE_FORMAT_PAYLOAD_ONLY << RDI_CFG0_DECODE_FORMAT;
294 val |= format->data_type << RDI_CFG0_DATA_TYPE;
295 val |= vc << RDI_CFG0_VIRTUAL_CHANNEL;
296 val |= dt_id << RDI_CFG0_DT_ID;
297 writel_relaxed(val, csid->base + CSID_RDI_CFG0(vc));
298
299 /* CSID_TIMESTAMP_STB_POST_IRQ */
300 val = 2 << RDI_CFG1_TIMESTAMP_STB_SEL;
301 writel_relaxed(val, csid->base + CSID_RDI_CFG1(vc));
302
303 val = 1;
304 writel_relaxed(val, csid->base + CSID_RDI_FRM_DROP_PERIOD(vc));
305
306 val = 0;
307 writel_relaxed(val, csid->base + CSID_RDI_FRM_DROP_PATTERN(vc));
308
309 val = 1;
310 writel_relaxed(val, csid->base + CSID_RDI_IRQ_SUBSAMPLE_PERIOD(vc));
311
312 val = 0;
313 writel_relaxed(val, csid->base + CSID_RDI_IRQ_SUBSAMPLE_PATTERN(vc));
314
315 val = 1;
316 writel_relaxed(val, csid->base + CSID_RDI_RPP_PIX_DROP_PERIOD(vc));
317
318 val = 0;
319 writel_relaxed(val, csid->base + CSID_RDI_RPP_PIX_DROP_PATTERN(vc));
320
321 val = 1;
322 writel_relaxed(val, csid->base + CSID_RDI_RPP_LINE_DROP_PERIOD(vc));
323
324 val = 0;
325 writel_relaxed(val, csid->base + CSID_RDI_RPP_LINE_DROP_PATTERN(vc));
326
327 val = 0;
328 writel_relaxed(val, csid->base + CSID_RDI_CTRL(vc));
329
330 val = readl_relaxed(csid->base + CSID_RDI_CFG0(vc));
331 val |= enable << RDI_CFG0_ENABLE;
332 writel_relaxed(val, csid->base + CSID_RDI_CFG0(vc));
333 }
334
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-05-23 13:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 15:46 [PATCH v4 0/8] Move camss version related defs in to resources Gjorgji Rosikopulos
2024-05-22 15:46 ` [PATCH v4 1/8] media: qcom: camss: Add per sub-device type resources Gjorgji Rosikopulos
2024-06-21 15:04 ` Bryan O'Donoghue
2024-05-22 15:46 ` [PATCH v4 2/8] media: qcom: camss: Attach formats to VFE resources Gjorgji Rosikopulos
2024-06-21 15:04 ` Bryan O'Donoghue
2024-05-22 15:46 ` [PATCH v4 3/8] media: qcom: camss: Attach formats to CSID resources Gjorgji Rosikopulos
2024-06-21 15:04 ` Bryan O'Donoghue
2024-05-22 15:46 ` [PATCH v4 4/8] media: qcom: camss: Attach formats to CSIPHY resources Gjorgji Rosikopulos
2024-06-21 15:05 ` Bryan O'Donoghue
2024-05-22 15:46 ` [PATCH v4 5/8] media: qcom: camss: Move format related functions Gjorgji Rosikopulos
2024-06-21 15:05 ` Bryan O'Donoghue
2024-05-22 15:46 ` [PATCH v4 6/8] media: qcom: camss: Split testgen, RDI and RX for CSID 170 Gjorgji Rosikopulos
2024-05-23 12:59 ` kernel test robot [this message]
2024-06-21 15:09 ` Bryan O'Donoghue
2024-06-25 8:52 ` Gjorgji Rosikopulos (Consultant)
2024-06-21 15:05 ` Bryan O'Donoghue
2024-05-22 15:46 ` [PATCH v4 7/8] media: qcom: camss: Decompose register and link operations Gjorgji Rosikopulos
2024-06-21 15:05 ` Bryan O'Donoghue
2024-05-22 15:46 ` [PATCH v4 8/8] media: qcom: camss: Decouple VFE from CSID Gjorgji Rosikopulos
2024-06-21 15:06 ` Bryan O'Donoghue
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=202405232059.8lLokYw2-lkp@intel.com \
--to=lkp@intel.com \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=konrad.dybcio@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_grosikop@quicinc.com \
--cc=quic_hariramp@quicinc.com \
--cc=rfoss@kernel.org \
--cc=todor.too@gmail.com \
/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