[gvt-linux:gvt-staging 1/5] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:3330:3: error: implicit declaration of function 'drm_edid_to_eld'; did you mean 'drm_edid_to_sad'?

kbuild test robot fengguang.wu at intel.com
Sun Nov 26 06:48:34 UTC 2017


tree:   https://github.com/01org/gvt-linux.git gvt-staging
head:   f2687242cd56a14e8f3341fdd85629fdd1a03694
commit: 0e205a7cc31128ff80cf74fc2d242e5635347079 [1/5] Merge remote-tracking branch 'vfio-upstream/for-linus' into gvt-staging
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0e205a7cc31128ff80cf74fc2d242e5635347079
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_connector_ddc_get_modes':
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:3330:3: error: implicit declaration of function 'drm_edid_to_eld'; did you mean 'drm_edid_to_sad'? [-Werror=implicit-function-declaration]
      drm_edid_to_eld(connector, edid);
      ^~~~~~~~~~~~~~~
      drm_edid_to_sad
   cc1: some warnings being treated as errors
--
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c: In function 'dm_connector_update_modes':
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:183:2: error: implicit declaration of function 'drm_edid_to_eld'; did you mean 'drm_edid_to_sad'? [-Werror=implicit-function-declaration]
     drm_edid_to_eld(connector, edid);
     ^~~~~~~~~~~~~~~
     drm_edid_to_sad
   cc1: some warnings being treated as errors

vim +3330 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c

e7b07ceef Harry Wentland 2017-08-10  3317  
3ee6b26b7 Alex Deucher   2017-10-10  3318  static void amdgpu_dm_connector_ddc_get_modes(struct drm_connector *connector,
e7b07ceef Harry Wentland 2017-08-10  3319  					      struct edid *edid)
e7b07ceef Harry Wentland 2017-08-10  3320  {
c84dec2fe Harry Wentland 2017-09-05  3321  	struct amdgpu_dm_connector *amdgpu_dm_connector =
c84dec2fe Harry Wentland 2017-09-05  3322  			to_amdgpu_dm_connector(connector);
e7b07ceef Harry Wentland 2017-08-10  3323  
e7b07ceef Harry Wentland 2017-08-10  3324  	if (edid) {
e7b07ceef Harry Wentland 2017-08-10  3325  		/* empty probed_modes */
e7b07ceef Harry Wentland 2017-08-10  3326  		INIT_LIST_HEAD(&connector->probed_modes);
c84dec2fe Harry Wentland 2017-09-05  3327  		amdgpu_dm_connector->num_modes =
e7b07ceef Harry Wentland 2017-08-10  3328  				drm_add_edid_modes(connector, edid);
e7b07ceef Harry Wentland 2017-08-10  3329  
e7b07ceef Harry Wentland 2017-08-10 @3330  		drm_edid_to_eld(connector, edid);
e7b07ceef Harry Wentland 2017-08-10  3331  
e7b07ceef Harry Wentland 2017-08-10  3332  		amdgpu_dm_get_native_mode(connector);
a8d8d3dc9 Tom St Denis   2017-10-17  3333  	} else {
c84dec2fe Harry Wentland 2017-09-05  3334  		amdgpu_dm_connector->num_modes = 0;
e7b07ceef Harry Wentland 2017-08-10  3335  	}
a8d8d3dc9 Tom St Denis   2017-10-17  3336  }
e7b07ceef Harry Wentland 2017-08-10  3337  

:::::: The code at line 3330 was first introduced by commit
:::::: e7b07ceef2a650e5ed8ca37997689e086c680daf drm/amd/display: Merge amdgpu_dm_types and amdgpu_dm

:::::: TO: Harry Wentland <harry.wentland at amd.com>
:::::: CC: Alex Deucher <alexander.deucher at amd.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 64614 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20171126/126a7672/attachment-0001.gz>


More information about the intel-gvt-dev mailing list