[radeon-alex:amd-staging-drm-next 597/638] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_timing_generator.c:97: undefined reference to `__udivdi3'

kbuild test robot lkp at intel.com
Mon Dec 24 12:10:00 UTC 2018


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   d9c54d61df327dc93374b718d7941a09e02e32e1
commit: 1d752442f3d6275b40bace55d022e792167f7fca [597/638] drm/amd/display: Use 100 Hz precision for pipe pixel clocks
config: i386-randconfig-n0-12220509 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 1d752442f3d6275b40bace55d022e792167f7fca
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.o: In function `amdgpu_dm_do_flip':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4615: undefined reference to `__udivdi3'
   drivers/gpu/drm/amd/display/dc/dce80/dce80_timing_generator.o: In function `program_pix_dur':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_timing_generator.c:97: undefined reference to `__udivdi3'

vim +97 drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_timing_generator.c

    86	
    87	static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz)
    88	{
    89		uint64_t pix_dur;
    90		uint32_t addr = mmDMIF_PG0_DPG_PIPE_ARBITRATION_CONTROL1
    91						+ DCE110TG_FROM_TG(tg)->offsets.dmif;
    92		uint32_t value = dm_read_reg(tg->ctx, addr);
    93	
    94		if (pix_clk_100hz == 0)
    95			return;
    96	
  > 97		pix_dur = 10000000000ull / pix_clk_100hz;
    98	
    99		set_reg_field_value(
   100			value,
   101			pix_dur,
   102			DPG_PIPE_ARBITRATION_CONTROL1,
   103			PIXEL_DURATION);
   104	
   105		dm_write_reg(tg->ctx, addr, value);
   106	}
   107	

---
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: 33572 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181224/4d88e3d8/attachment-0001.gz>


More information about the dri-devel mailing list