[radeon-alex:amd-staging-drm-next 526/542] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1237:34: error: 'struct dc' has no member named 'dml'

kbuild test robot lkp at intel.com
Thu Mar 21 07:55:05 UTC 2019


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   c817263d2d6a371e51925e82d932cc2601553adc
commit: e997e992bebac3dd1d8e2b1a148529ab0662759b [526/542] drm/amd/display: Fix multi-thread writing to 1 state
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.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 e997e992bebac3dd1d8e2b1a148529ab0662759b
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c: In function 'dc_create_state':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1237:34: error: 'struct dc' has no member named 'dml'
     memcpy(&context->bw_ctx.dml, &dc->dml, sizeof(struct display_mode_lib));
                                     ^~

vim +1237 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c

  1225	
  1226	struct dc_state *dc_create_state(struct dc *dc)
  1227	{
  1228		struct dc_state *context = kzalloc(sizeof(struct dc_state),
  1229						   GFP_KERNEL);
  1230	
  1231		if (!context)
  1232			return NULL;
  1233		/* Each context must have their own instance of VBA and in order to
  1234		 * initialize and obtain IP and SOC the base DML instance from DC is
  1235		 * initially copied into every context
  1236		 */
> 1237		memcpy(&context->bw_ctx.dml, &dc->dml, sizeof(struct display_mode_lib));
  1238	
  1239		kref_init(&context->refcount);
  1240	
  1241		return context;
  1242	}
  1243	

---
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: 52754 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190321/d3512469/attachment-0005.gz>


More information about the dri-devel mailing list