tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
v5.10-rc2-stable
head: fff950790f1aeb42f8b38de431ac45069cf84a73
commit: 7e4f53af06ab0dbc6a416c34cd76400680a02e44 [925/936] drm/nouveau/kms/nv50-: Use
downstream DP clock limits for mode validation
config: x86_64-randconfig-a015-20201101 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
cc91554ebb66e8c9a4b8c67ca2f1343eaac10cf6)
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable v5.10-rc2-stable
git checkout 7e4f53af06ab0dbc6a416c34cd76400680a02e44
# 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/nouveau/nouveau_dp.c:74:8: error: implicit
declaration of function 'drm_dp_read_downstream_info'
[-Werror,-Wimplicit-function-declaration]
ret =
drm_dp_read_downstream_info(aux, dpcd,
^
drivers/gpu/drm/nouveau/nouveau_dp.c:74:8: note: did you mean
'drm_dp_downstream_id'?
include/drm/drm_dp_helper.h:1619:5: note: 'drm_dp_downstream_id' declared here
int drm_dp_downstream_id(struct drm_dp_aux *aux, char id[6]);
^
1 error generated.
vim +/drm_dp_read_downstream_info +74 drivers/gpu/drm/nouveau/nouveau_dp.c
38
39 static enum drm_connector_status
40 nouveau_dp_probe_dpcd(struct nouveau_connector *nv_connector,
41 struct nouveau_encoder *outp)
42 {
43 struct drm_dp_aux *aux = &nv_connector->aux;
44 struct nv50_mstm *mstm = NULL;
45 int ret;
46 u8 *dpcd = outp->dp.dpcd;
47 u8 tmp;
48
49 ret = drm_dp_dpcd_read(aux, DP_DPCD_REV, dpcd, DP_RECEIVER_CAP_SIZE);
50 if (ret == DP_RECEIVER_CAP_SIZE && dpcd[DP_DPCD_REV]) {
51 ret = drm_dp_read_desc(aux, &outp->dp.desc,
52 drm_dp_is_branch(dpcd));
53 if (ret < 0)
54 return connector_status_disconnected;
55 } else {
56 return connector_status_disconnected;
57 }
58
59 if (nouveau_mst)
60 mstm = outp->dp.mstm;
61
62 if (mstm) {
63 if (dpcd[DP_DPCD_REV] >= DP_DPCD_REV_12) {
64 ret = drm_dp_dpcd_readb(aux, DP_MSTM_CAP, &tmp);
65 if (ret < 0)
66 return connector_status_disconnected;
67
68 mstm->can_mst = !!(tmp & DP_MST_CAP);
69 } else {
70 mstm->can_mst = false;
71 }
72 }
73
74 ret = drm_dp_read_downstream_info(aux, dpcd,
75
outp->dp.downstream_ports);
76 if (ret < 0)
77 return connector_status_disconnected;
78
79 return connector_status_connected;
80 }
81
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org