From: kernel test robot <lkp@intel.com>
To: Neil Armstrong <narmstrong@baylibre.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [superna9999:amlogic/v5.17/g12-dsi 7/23] drivers/gpu/drm/meson/meson_vclk.c:1035:33: error: 'vid_pll_div' undeclared
Date: Sun, 12 Dec 2021 15:38:54 +0800 [thread overview]
Message-ID: <202112121520.P5eMl3xJ-lkp@intel.com> (raw)
tree: https://github.com/superna9999/linux amlogic/v5.17/g12-dsi
head: 62dac9179f2937dc08bffe08d15c6846bc4aedb4
commit: cc44c3ce92a63f2c59a3f0ac03e6defd41542940 [7/23] WiP: drm/meson: vclk: add DSI clock config
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20211212/202112121520.P5eMl3xJ-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
# 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=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the superna9999/amlogic/v5.17/g12-dsi HEAD 62dac9179f2937dc08bffe08d15c6846bc4aedb4 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
drivers/gpu/drm/meson/meson_vclk.c: In function 'meson_dsi_clock_config':
>> drivers/gpu/drm/meson/meson_vclk.c:1035:33: error: 'vid_pll_div' undeclared (first use in this function)
1035 | meson_vid_pll_set(priv, vid_pll_div);
| ^~~~~~~~~~~
drivers/gpu/drm/meson/meson_vclk.c:1035:33: note: each undeclared identifier is reported only once for each function it appears in
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-12 7:39 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=202112121520.P5eMl3xJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®