[steev:sc8280xp-next-20220722 144/151] drivers/gpu/drm/msm/dp/dp_debug.c:192: undefined reference to `dp_panel_tpg_config'

From: kernel test robot
Date: Sat Jul 30 2022 - 07:33:56 EST


tree: https://github.com/steev/linux sc8280xp-next-20220722
head: 70f72824f4018e98a9003c3c3107be71a1e5c88b
commit: c1bc1580b0dd297b7749f6353834295155bfbb48 [144/151] drm/msm/dp: Make it possible to enable the test pattern
config: xtensa-randconfig-m031-20220729 (https://download.01.org/0day-ci/archive/20220730/202207301916.ecD9wbRq-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 12.1.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/steev/linux/commit/c1bc1580b0dd297b7749f6353834295155bfbb48
git remote add steev https://github.com/steev/linux
git fetch --no-tags steev sc8280xp-next-20220722
git checkout c1bc1580b0dd297b7749f6353834295155bfbb48
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=xtensa SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

xtensa-linux-ld: drivers/gpu/drm/msm/dp/dp_debug.o: in function `dp_test_active_show':
>> drivers/gpu/drm/msm/dp/dp_debug.c:192: undefined reference to `dp_panel_tpg_config'
xtensa-linux-ld: drivers/gpu/drm/msm/dp/dp_debug.o: in function `dp_test_active_write':
drivers/gpu/drm/msm/dp/dp_debug.c:169: undefined reference to `dp_panel_tpg_config'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
Selected by [y]:
- QCOM_RPMPD [=y] && PM [=y] && QCOM_SMD_RPM [=y]


vim +192 drivers/gpu/drm/msm/dp/dp_debug.c

de3ee25473ba49 Abhinav Kumar 2020-09-12 176
de3ee25473ba49 Abhinav Kumar 2020-09-12 177 static int dp_test_active_show(struct seq_file *m, void *data)
de3ee25473ba49 Abhinav Kumar 2020-09-12 178 {
de3ee25473ba49 Abhinav Kumar 2020-09-12 179 struct dp_debug_private *debug = m->private;
899b2608d8d4b6 Bjorn Andersson 2021-10-15 180 struct drm_connector *connector = debug->connector;
de3ee25473ba49 Abhinav Kumar 2020-09-12 181
de3ee25473ba49 Abhinav Kumar 2020-09-12 182 if (connector->status == connector_status_connected) {
de3ee25473ba49 Abhinav Kumar 2020-09-12 183 if (debug->panel->video_test)
de3ee25473ba49 Abhinav Kumar 2020-09-12 184 seq_puts(m, "1");
de3ee25473ba49 Abhinav Kumar 2020-09-12 185 else
de3ee25473ba49 Abhinav Kumar 2020-09-12 186 seq_puts(m, "0");
899b2608d8d4b6 Bjorn Andersson 2021-10-15 187 } else {
de3ee25473ba49 Abhinav Kumar 2020-09-12 188 seq_puts(m, "0");
de3ee25473ba49 Abhinav Kumar 2020-09-12 189 }
de3ee25473ba49 Abhinav Kumar 2020-09-12 190
de3ee25473ba49 Abhinav Kumar 2020-09-12 191 return 0;
de3ee25473ba49 Abhinav Kumar 2020-09-12 @192 }
de3ee25473ba49 Abhinav Kumar 2020-09-12 193

:::::: The code at line 192 was first introduced by commit
:::::: de3ee25473ba49f2e785e43b5db5e05cb35aad24 drm/msm/dp: add debugfs nodes for video pattern tests

:::::: TO: Abhinav Kumar <abhinavk@xxxxxxxxxxxxxx>
:::::: CC: Rob Clark <robdclark@xxxxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://01.org/lkp