[radeon-alex:drm-next-4.20-wip 321/331] drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:411: undefined reference to `__umoddi3'

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

 



tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.20-wip
head:   271430fdbed22d33094fdd50e62c9c15f95ebe38
commit: 59aa9b9f0eb219479f7415fb49560de7b4aab048 [321/331] drm/amdgpu: use leaf iterator for allocating PD/PT
config: i386-randconfig-x0-09140443 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        git checkout 59aa9b9f0eb219479f7415fb49560de7b4aab048
        # 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:411: undefined reference to `__umoddi3'

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

e7e38d43 Christian König 2018-09-01  387  
e7e38d43 Christian König 2018-09-01  388  /**
e7e38d43 Christian König 2018-09-01  389   * amdgpu_vm_pt_descendant - go to child node
e7e38d43 Christian König 2018-09-01  390   *
e7e38d43 Christian König 2018-09-01  391   * @adev: amdgpu_device pointer
e7e38d43 Christian König 2018-09-01  392   * @cursor: current state
e7e38d43 Christian König 2018-09-01  393   *
e7e38d43 Christian König 2018-09-01  394   * Walk to the child node of the current node.
e7e38d43 Christian König 2018-09-01  395   * Returns:
e7e38d43 Christian König 2018-09-01  396   * True if the walk was possible, false otherwise.
e7e38d43 Christian König 2018-09-01  397   */
e7e38d43 Christian König 2018-09-01  398  static bool amdgpu_vm_pt_descendant(struct amdgpu_device *adev,
e7e38d43 Christian König 2018-09-01  399  				    struct amdgpu_vm_pt_cursor *cursor)
e7e38d43 Christian König 2018-09-01  400  {
e7e38d43 Christian König 2018-09-01  401  	unsigned num_entries, shift, idx;
e7e38d43 Christian König 2018-09-01  402  
e7e38d43 Christian König 2018-09-01  403  	if (!cursor->entry->entries)
e7e38d43 Christian König 2018-09-01  404  		return false;
e7e38d43 Christian König 2018-09-01  405  
e7e38d43 Christian König 2018-09-01  406  	BUG_ON(!cursor->entry->base.bo);
e7e38d43 Christian König 2018-09-01  407  	num_entries = amdgpu_vm_num_entries(adev, cursor->level);
e7e38d43 Christian König 2018-09-01  408  	shift = amdgpu_vm_level_shift(adev, cursor->level);
e7e38d43 Christian König 2018-09-01  409  
e7e38d43 Christian König 2018-09-01  410  	++cursor->level;
e7e38d43 Christian König 2018-09-01 @411  	idx = (cursor->pfn >> shift) % num_entries;
e7e38d43 Christian König 2018-09-01  412  	cursor->parent = cursor->entry;
e7e38d43 Christian König 2018-09-01  413  	cursor->entry = &cursor->entry->entries[idx];
e7e38d43 Christian König 2018-09-01  414  	return true;
e7e38d43 Christian König 2018-09-01  415  }
e7e38d43 Christian König 2018-09-01  416  

:::::: The code at line 411 was first introduced by commit
:::::: e7e38d4366e3e24188b2ed9633b0f9bf9f1fd449 drm/amdgpu: add some VM PD/PT iterators v2

:::::: TO: Christian König <christian.koenig@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

---
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