tree:
git://anongit.freedesktop.org/drm/drm-intel for-linux-next
head: 4d32fe2f14a73b47b6f812eca1ab71fcd5a64dcd
commit: ca962882268ac8d99ffe461c25522c68b1fdc39d [18/22] drm/i915/adl_p: Define and use
ADL-P specific DP translation tables
config: x86_64-randconfig-a013-20210520 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
bf9ef3efaa99c02e7bfc4c57207301b8de39a278)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add drm-drm-intel
git://anongit.freedesktop.org/drm/drm-intel
git fetch --no-tags drm-drm-intel for-linux-next
git checkout ca962882268ac8d99ffe461c25522c68b1fdc39d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:752:47: error:
variable 'adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3' is not needed and will not be
emitted [-Werror,-Wunneeded-internal-declaration]
static const struct
tgl_dkl_phy_ddi_buf_trans adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3[] = {
^
1 error generated.
vim +/adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3 +752
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c
751
752 static const struct tgl_dkl_phy_ddi_buf_trans
adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3[] = {
753 /* VS pre-emp Non-trans
mV Pre-emph dB */
754 { 0x7, 0x0, 0x00 }, /* 0 0 400mV 0 dB */
755 { 0x5, 0x0, 0x04 }, /* 0 1 400mV 3.5 dB */
756 { 0x2, 0x0, 0x0A }, /* 0 2 400mV 6 dB */
757 { 0x0, 0x0, 0x18 }, /* 0 3 400mV 9.5 dB */
758 { 0x5, 0x0, 0x00 }, /* 1 0 600mV 0 dB */
759 { 0x2, 0x0, 0x06 }, /* 1 1 600mV 3.5 dB */
760 { 0x0, 0x0, 0x14 }, /* 1 2 600mV 6 dB */
761 { 0x2, 0x0, 0x00 }, /* 2 0 800mV 0 dB */
762 { 0x0, 0x0, 0x09 }, /* 2 1 800mV 3.5 dB */
763 { 0x0, 0x0, 0x00 }, /* 3 0 1200mV 0 dB */
764 };
765
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org