[drm-intel:drm-intel-next-queued 6/6] drivers/gpu/drm/i915/intel_device_info.c:345: undefined reference to `__udivdi3'

kbuild test robot fengguang.wu at intel.com
Mon Nov 13 19:31:14 UTC 2017


tree:   git://anongit.freedesktop.org/drm-intel drm-intel-next-queued
head:   dab91783338bd3dd42638f89b5f7e34c57773207
commit: dab91783338bd3dd42638f89b5f7e34c57773207 [6/6] drm/i915: expose command stream timestamp frequency to userspace
config: i386-randconfig-s0-201746 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout dab91783338bd3dd42638f89b5f7e34c57773207
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_device_info.o: In function `read_reference_ts_freq':
>> drivers/gpu/drm/i915/intel_device_info.c:345: undefined reference to `__udivdi3'

vim +345 drivers/gpu/drm/i915/intel_device_info.c

   331	
   332	static u64 read_reference_ts_freq(struct drm_i915_private *dev_priv)
   333	{
   334		u32 ts_override = I915_READ(GEN9_TIMESTAMP_OVERRIDE);
   335		u64 base_freq, frac_freq;
   336	
   337		base_freq = ((ts_override & GEN9_TIMESTAMP_OVERRIDE_US_COUNTER_DIVIDER_MASK) >>
   338			     GEN9_TIMESTAMP_OVERRIDE_US_COUNTER_DIVIDER_SHIFT) + 1;
   339		base_freq *= 1000000;
   340	
   341		frac_freq = ((ts_override &
   342			      GEN9_TIMESTAMP_OVERRIDE_US_COUNTER_DENOMINATOR_MASK) >>
   343			     GEN9_TIMESTAMP_OVERRIDE_US_COUNTER_DENOMINATOR_SHIFT);
   344		if (frac_freq != 0)
 > 345			frac_freq = 1000000 / (frac_freq + 1);
   346	
   347		return base_freq + frac_freq;
   348	}
   349	

---
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: 31067 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171114/629a49d6/attachment-0001.gz>


More information about the dri-devel mailing list