[drm-misc:drm-misc-next 1/3] drivers/gpu/drm/i915/display/intel_dp.c:4233:15: error: implicit declaration of function 'intel_dp_vsc_sdp_pack'; did you mean 'drm_dp_vsc_sdp_pack'?
kernel test robot
lkp at intel.com
Wed Feb 28 12:42:24 UTC 2024
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: 0c591381e4462005234f942d9fc36a369c0f5998
commit: 47f419e07111acecab3b529d4ae31a28985f5b61 [1/3] drm/dp: move intel_dp_vsc_sdp_pack() to generic helper
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240228/202402282026.F2yrD1ZQ-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240228/202402282026.F2yrD1ZQ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402282026.F2yrD1ZQ-lkp@intel.com/
Note: the drm-misc/drm-misc-next HEAD 0c591381e4462005234f942d9fc36a369c0f5998 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/display/intel_dp.c: In function 'intel_write_dp_vsc_sdp':
>> drivers/gpu/drm/i915/display/intel_dp.c:4233:15: error: implicit declaration of function 'intel_dp_vsc_sdp_pack'; did you mean 'drm_dp_vsc_sdp_pack'? [-Werror=implicit-function-declaration]
4233 | len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
| ^~~~~~~~~~~~~~~~~~~~~
| drm_dp_vsc_sdp_pack
cc1: some warnings being treated as errors
vim +4233 drivers/gpu/drm/i915/display/intel_dp.c
03c761b00c87d6 Gwan-gyeong Mun 2020-02-11 4223
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4224 void intel_write_dp_vsc_sdp(struct intel_encoder *encoder,
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4225 const struct intel_crtc_state *crtc_state,
9ce5884e513903 José Roberto de Souza 2021-09-22 4226 const struct drm_dp_vsc_sdp *vsc)
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4227 {
7801f3b792b0fd Lucas De Marchi 2020-06-30 4228 struct intel_digital_port *dig_port = enc_to_dig_port(encoder);
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4229 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev);
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4230 struct dp_sdp sdp = {};
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4231 ssize_t len;
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4232
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 @4233 len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4234
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4235 if (drm_WARN_ON(&dev_priv->drm, len < 0))
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4236 return;
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4237
7801f3b792b0fd Lucas De Marchi 2020-06-30 4238 dig_port->write_infoframe(encoder, crtc_state, DP_SDP_VSC,
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4239 &sdp, len);
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4240 }
cafac5a9836199 Gwan-gyeong Mun 2020-05-14 4241
:::::: The code at line 4233 was first introduced by commit
:::::: cafac5a983619944afa639c53f0d5d885616a3d2 drm/i915/dp: Add compute routine for DP PSR VSC SDP
:::::: TO: Gwan-gyeong Mun <gwan-gyeong.mun at intel.com>
:::::: CC: Jani Nikula <jani.nikula at intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the dri-devel
mailing list