dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [radeon-alex:amd-staging-dkms-4.18 1311/1379] drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:418: undefined reference to `__umoddi3'
@ 2018-10-18 11:56 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-10-18 11:56 UTC (permalink / raw)
  To: Prike Liang; +Cc: kbuild-all, dri-devel

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

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-dkms-4.18
head:   937a0a9df97d4c1c7cecf6faa2f501d175bc3c2a
commit: 04ba02775992499651c3dcf684f6fd235092dd0b [1311/1379] Revert "drm/amdgpu: add amdgpu_vm_entries_mask v2"
config: i386-randconfig-n2-201841 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 04ba02775992499651c3dcf684f6fd235092dd0b
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.o: In function `amdgpu_vm_pt_descendant':
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:418: undefined reference to `__umoddi3'

vim +418 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

   394	
   395	/**
   396	 * amdgpu_vm_pt_descendant - go to child node
   397	 *
   398	 * @adev: amdgpu_device pointer
   399	 * @cursor: current state
   400	 *
   401	 * Walk to the child node of the current node.
   402	 * Returns:
   403	 * True if the walk was possible, false otherwise.
   404	 */
   405	static bool amdgpu_vm_pt_descendant(struct amdgpu_device *adev,
   406					    struct amdgpu_vm_pt_cursor *cursor)
   407	{
   408		unsigned num_entries, shift, idx;
   409	
   410		if (!cursor->entry->entries)
   411			return false;
   412	
   413		BUG_ON(!cursor->entry->base.bo);
   414		num_entries = amdgpu_vm_num_entries(adev, cursor->level);
   415		shift = amdgpu_vm_level_shift(adev, cursor->level);
   416	
   417		++cursor->level;
 > 418		idx = (cursor->pfn >> shift) % num_entries;
   419		cursor->parent = cursor->entry;
   420		cursor->entry = &cursor->entry->entries[idx];
   421		return true;
   422	}
   423	

---
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: 28923 bytes --]

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

only message in thread, other threads:[~2018-10-18 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 11:56 [radeon-alex:amd-staging-dkms-4.18 1311/1379] drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:418: undefined reference to `__umoddi3' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).