[Intel-gfx] [PATCH] dma-buf: Replace reservation shared fence array with a compressed radix tree

kbuild test robot lkp at intel.com
Mon Nov 14 08:49:53 UTC 2016


Hi Chris,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on next-20161114]
[cannot apply to v4.9-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/dma-buf-Replace-reservation-shared-fence-array-with-a-compressed-radix-tree/20161114-163437
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x009-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/radeon/radeon_sync.c: In function 'radeon_sync_resv':
>> drivers/gpu/drm/radeon/radeon_sync.c:110:2: error: implicit declaration of function 'resevation_object_for_each_shared' [-Werror=implicit-function-declaration]
     resevation_object_for_each_shared(resv, iter) {
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/radeon/radeon_sync.c:110:48: error: expected ';' before '{' token
     resevation_object_for_each_shared(resv, iter) {
                                                   ^
>> drivers/gpu/drm/radeon/radeon_sync.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   cc1: some warnings being treated as errors

vim +/resevation_object_for_each_shared +110 drivers/gpu/drm/radeon/radeon_sync.c

   104		else if (f)
   105			r = dma_fence_wait(f, true);
   106	
   107		if (shared || !reservation_object_has_shared(resv) || r)
   108			return r;
   109	
 > 110		resevation_object_for_each_shared(resv, iter) {
   111			fence = to_radeon_fence(iter.fence);
   112			if (fence && fence->rdev == rdev)
   113				radeon_sync_fence(sync, fence);
   114			else
   115				r = dma_fence_wait(f, true);
   116	
   117			if (r)
   118				break;
   119		}
   120		return r;
 > 121	}
   122	
   123	/**
   124	 * radeon_sync_rings - sync ring to all registered fences

---
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: 30158 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161114/4119caa2/attachment-0001.gz>


More information about the Intel-gfx mailing list