tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: f542d671ffcec772a561cd41c7e2394392d9dafb commit: f542d671ffcec772a561cd41c7e2394392d9dafb [14/14] drm/i915: Init lspcon after HPD in intel_dp_detect() config: x86_64-randconfig-a005-20201001 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bcd05599d0e53977a963799d6ee4f6e0bc21331b) 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-intel git://anongit.freedesktop.org/drm-intel git fetch --no-tags drm-intel drm-intel-next-queued git checkout f542d671ffcec772a561cd41c7e2394392d9dafb # 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@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_lspcon.c:533:6: error: no previous prototype for function 'lspcon_init' [-Werror,-Wmissing-prototypes] bool lspcon_init(struct intel_digital_port *dig_port) ^ drivers/gpu/drm/i915/display/intel_lspcon.c:533:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool lspcon_init(struct intel_digital_port *dig_port) ^ static 1 error generated. vim +/lspcon_init +533 drivers/gpu/drm/i915/display/intel_lspcon.c 357c0ae9198ad7f drivers/gpu/drm/i915/intel_lspcon.c Imre Deak 2016-11-21 532 7801f3b792b0fd1 drivers/gpu/drm/i915/display/intel_lspcon.c Lucas De Marchi 2020-06-30 @533 bool lspcon_init(struct intel_digital_port *dig_port) dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 534 { 7801f3b792b0fd1 drivers/gpu/drm/i915/display/intel_lspcon.c Lucas De Marchi 2020-06-30 535 struct intel_dp *dp = &dig_port->dp; 7801f3b792b0fd1 drivers/gpu/drm/i915/display/intel_lspcon.c Lucas De Marchi 2020-06-30 536 struct intel_lspcon *lspcon = &dig_port->lspcon; 668b6c176c33f44 drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2018-10-12 537 struct drm_connector *connector = &dp->attached_connector->base; dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 538 dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 539 lspcon->active = false; dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 540 lspcon->mode = DRM_LSPCON_MODE_INVALID; dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 541 dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 542 if (!lspcon_probe(lspcon)) { dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 543 DRM_ERROR("Failed to probe lspcon\n"); dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 544 return false; dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 545 } dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 546 b9936121d95b012 drivers/gpu/drm/i915/display/intel_lspcon.c Lyude Paul 2020-08-26 547 if (drm_dp_read_dpcd_caps(&dp->aux, dp->dpcd) != 0) { 24e807e79f103cd drivers/gpu/drm/i915/intel_lspcon.c Imre Deak 2016-10-24 548 DRM_ERROR("LSPCON DPCD read failed\n"); 24e807e79f103cd drivers/gpu/drm/i915/intel_lspcon.c Imre Deak 2016-10-24 549 return false; 24e807e79f103cd drivers/gpu/drm/i915/intel_lspcon.c Imre Deak 2016-10-24 550 } 24e807e79f103cd drivers/gpu/drm/i915/intel_lspcon.c Imre Deak 2016-10-24 551 96e35598cead98d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2018-10-12 552 if (!lspcon_detect_vendor(lspcon)) { 96e35598cead98d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2018-10-12 553 DRM_ERROR("LSPCON vendor detection failed\n"); 96e35598cead98d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2018-10-12 554 return false; 96e35598cead98d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2018-10-12 555 } 12a47a422862214 drivers/gpu/drm/i915/intel_lspcon.c Imre Deak 2016-10-24 556 668b6c176c33f44 drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2018-10-12 557 connector->ycbcr_420_allowed = true; 96e35598cead98d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2018-10-12 558 lspcon->active = true; dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 559 DRM_DEBUG_KMS("Success: LSPCON init\n"); dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 560 return true; dbe9e61b8e4306d drivers/gpu/drm/i915/intel_lspcon.c Shashank Sharma 2016-10-14 561 } f542d671ffcec77 drivers/gpu/drm/i915/display/intel_lspcon.c Kai-Heng Feng 2020-06-10 562 :::::: The code at line 533 was first introduced by commit :::::: 7801f3b792b0fd171b02f2cb974e758295e68e0f drm/i915/display: prefer dig_port to reference intel_digital_port :::::: TO: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> :::::: CC: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel