From: kernel test robot <lkp@intel.com>
To: Neil Armstrong <narmstrong@baylibre.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [superna9999:amlogic/v5.17/g12-dsi 7/7] drivers/gpu/drm/meson/meson_vclk.c:1035:26: error: use of undeclared identifier 'vid_pll_div'
Date: Fri, 10 Dec 2021 17:53:12 +0800 [thread overview]
Message-ID: <202112101707.Kcrqw9L3-lkp@intel.com> (raw)
tree: https://github.com/superna9999/linux amlogic/v5.17/g12-dsi
head: cc44c3ce92a63f2c59a3f0ac03e6defd41542940
commit: cc44c3ce92a63f2c59a3f0ac03e6defd41542940 [7/7] WiP: drm/meson: vclk: add DSI clock config
config: arm-randconfig-r034-20211210 (https://download.01.org/0day-ci/archive/20211210/202112101707.Kcrqw9L3-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/superna9999/linux/commit/cc44c3ce92a63f2c59a3f0ac03e6defd41542940
git remote add superna9999 https://github.com/superna9999/linux
git fetch --no-tags superna9999 amlogic/v5.17/g12-dsi
git checkout cc44c3ce92a63f2c59a3f0ac03e6defd41542940
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/meson/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/meson/meson_vclk.c:1035:26: error: use of undeclared identifier 'vid_pll_div'
meson_vid_pll_set(priv, vid_pll_div);
^
1 error generated.
vim +/vid_pll_div +1035 drivers/gpu/drm/meson/meson_vclk.c
1029
1030 static void meson_dsi_clock_config(struct meson_drm *priv, unsigned freq)
1031 {
1032 meson_hdmi_pll_generic_set(priv, freq);
1033
1034 /* Setup vid_pll divider */
> 1035 meson_vid_pll_set(priv, vid_pll_div);
1036
1037 /* Disable VCLK2 */
1038 regmap_update_bits(priv->hhi, HHI_VIID_CLK_CNTL, VCLK2_EN, 0);
1039
1040 /* Setup vid_pll to /1 */
1041 meson_vid_pll_set(priv, VID_PLL_DIV_1);
1042
1043 /* Setup the VCLK2 divider value */
1044 regmap_update_bits(priv->hhi, HHI_VIID_CLK_DIV,
1045 VCLK2_DIV_MASK, 0);
1046
1047 /* select vid_pll for vclk2 */
1048 regmap_update_bits(priv->hhi, HHI_VIID_CLK_CNTL,
1049 VCLK2_SEL_MASK, (0 << VCLK2_SEL_SHIFT));
1050
1051 /* enable vclk2 gate */
1052 regmap_update_bits(priv->hhi, HHI_VIID_CLK_CNTL, VCLK2_EN, VCLK2_EN);
1053
1054 /* select vclk2_div1 for encl */
1055 regmap_update_bits(priv->hhi, HHI_VIID_CLK_DIV,
1056 CTS_ENCL_SEL_MASK, (8 << CTS_ENCL_SEL_SHIFT));
1057
1058 /* release vclk2_div_reset and enable vclk2_div */
1059 regmap_update_bits(priv->hhi, HHI_VIID_CLK_DIV,
1060 VCLK2_DIV_EN | VCLK2_DIV_RESET, VCLK2_DIV_EN);
1061
1062 /* enable vclk2_div1 gate */
1063 regmap_update_bits(priv->hhi, HHI_VIID_CLK_CNTL,
1064 VCLK2_DIV1_EN, VCLK2_DIV1_EN);
1065
1066 /* reset vclk2 */
1067 regmap_update_bits(priv->hhi, HHI_VIID_CLK_CNTL,
1068 VCLK2_SOFT_RESET, VCLK2_SOFT_RESET);
1069 regmap_update_bits(priv->hhi, HHI_VIID_CLK_CNTL,
1070 VCLK2_SOFT_RESET, 0);
1071
1072 /* enable encl_clk */
1073 regmap_update_bits(priv->hhi, HHI_VID_CLK_CNTL2,
1074 CTS_ENCL_EN, CTS_ENCL_EN);
1075
1076 usleep_range(10000, 11000);
1077 }
1078
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2021-12-10 9:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202112101707.Kcrqw9L3-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=narmstrong@baylibre.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