* [drm-misc:drm-misc-next 1/3] drivers/gpu/drm/i915/display/intel_dp.c:4233:8: error: call to undeclared function 'intel_dp_vsc_sdp_pack'; ISO C99 and later do not support implicit function declarations
@ 2024-02-25 18:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-25 18:01 UTC (permalink / raw)
To: Abhinav Kumar; +Cc: llvm, oe-kbuild-all, dri-devel, Dmitry Baryshkov
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: de8de2c8acb931ce6197a04376a7078ccf50e821
commit: 47f419e07111acecab3b529d4ae31a28985f5b61 [1/3] drm/dp: move intel_dp_vsc_sdp_pack() to generic helper
config: i386-buildonly-randconfig-003-20240225 (https://download.01.org/0day-ci/archive/20240226/202402260120.eBo7nTYE-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240226/202402260120.eBo7nTYE-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402260120.eBo7nTYE-lkp@intel.com/
Note: the drm-misc/drm-misc-next HEAD de8de2c8acb931ce6197a04376a7078ccf50e821 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/display/intel_dp.c:4233:8: error: call to undeclared function 'intel_dp_vsc_sdp_pack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4233 | len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
| ^
drivers/gpu/drm/i915/display/intel_dp.c:4233:8: note: did you mean 'drm_dp_vsc_sdp_pack'?
include/drm/display/drm_dp_helper.h:815:9: note: 'drm_dp_vsc_sdp_pack' declared here
815 | ssize_t drm_dp_vsc_sdp_pack(const struct drm_dp_vsc_sdp *vsc,
| ^
1 error generated.
vim +/intel_dp_vsc_sdp_pack +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@intel.com>
:::::: CC: Jani Nikula <jani.nikula@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-25 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-25 18:01 [drm-misc:drm-misc-next 1/3] drivers/gpu/drm/i915/display/intel_dp.c:4233:8: error: call to undeclared function 'intel_dp_vsc_sdp_pack'; ISO C99 and later do not support implicit function declarations kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.