[radeon-alex:amd-staging-dkms-4.18 1311/1379] drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:418: undefined reference to `__umoddi3'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip

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

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux