All of lore.kernel.org
 help / color / mirror / Atom feed
* [drm-intel:drm-intel-next-queued 6/6] drivers/gpu/drm/i915/intel_device_info.c:345: undefined reference to `__udivdi3'
@ 2017-11-13 19:31 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-11-13 19:31 UTC (permalink / raw)
  To: Lionel Landwerlin; +Cc: intel-gfx, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31067 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-13 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-13 19:31 [drm-intel:drm-intel-next-queued 6/6] drivers/gpu/drm/i915/intel_device_info.c:345: undefined reference to `__udivdi3' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.