[radeon-alex:amd-staging-drm-next 68/819] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:154:10: error: 'drm_atomic_helper_connector_dpms' undeclared here (not in a function)

kbuild test robot fengguang.wu at intel.com
Tue Aug 29 22:22:45 UTC 2017


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   ff14f0dca1f23b2cff41e43440c7952965e5fc1b
commit: 9b37a9b8f6464e3ce1ce59eda1ec7053c8e77ca3 [68/819] drm/amd/dc: Add dc display driver (v2)
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9b37a9b8f6464e3ce1ce59eda1ec7053c8e77ca3
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

Note: the radeon-alex/amd-staging-drm-next HEAD ff14f0dca1f23b2cff41e43440c7952965e5fc1b builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:154:10: error: 'drm_atomic_helper_connector_dpms' undeclared here (not in a function)
     .dpms = drm_atomic_helper_connector_dpms,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:159:18: error: 'drm_atomic_helper_connector_set_property' undeclared here (not in a function)
     .set_property = drm_atomic_helper_connector_set_property,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/drm_atomic_helper_connector_dpms +154 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c

   152	
   153	static const struct drm_connector_funcs dm_dp_mst_connector_funcs = {
 > 154		.dpms = drm_atomic_helper_connector_dpms,
   155		.detect = dm_dp_mst_detect,
   156		.fill_modes = drm_helper_probe_single_connector_modes,
   157		.destroy = dm_dp_mst_connector_destroy,
   158		.reset = amdgpu_dm_connector_funcs_reset,
 > 159		.set_property = drm_atomic_helper_connector_set_property,
   160		.atomic_duplicate_state = amdgpu_dm_connector_atomic_duplicate_state,
   161		.atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
   162		.atomic_set_property = amdgpu_dm_connector_atomic_set_property
   163	};
   164	

---
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: 51524 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170830/e8db48f8/attachment-0001.gz>


More information about the dri-devel mailing list