[Intel-gfx] [PATCH] drm/i915/userptr: Flush cancellations before mmu-notifier invalidate returns

kbuild test robot lkp at intel.com
Fri Mar 25 18:29:39 UTC 2016

Hi Chris,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20160324]
[cannot apply to v4.5]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-userptr-Flush-cancellations-before-mmu-notifier-invalidate-returns/20160326-021543
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x010-201612 (attached as .config)
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

   drivers/gpu/drm/i915/i915_gem_userptr.c: In function 'wait_rendering':
>> drivers/gpu/drm/i915/i915_gem_userptr.c:67:40: error: 'I915_NUM_ENGINES' undeclared (first use in this function)
     struct drm_i915_gem_request *requests[I915_NUM_ENGINES];
   drivers/gpu/drm/i915/i915_gem_userptr.c:67:40: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu/drm/i915/i915_gem_userptr.c:67:31: warning: unused variable 'requests' [-Wunused-variable]
     struct drm_i915_gem_request *requests[I915_NUM_ENGINES];

vim +/I915_NUM_ENGINES +67 drivers/gpu/drm/i915/i915_gem_userptr.c

    61		bool attached;
    62	};
    64	static void wait_rendering(struct drm_i915_gem_object *obj)
    65	{
    66		struct drm_device *dev = obj->base.dev;
  > 67		struct drm_i915_gem_request *requests[I915_NUM_ENGINES];
    68		unsigned reset_counter;
    69		int i, n;

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/octet-stream
Size: 23182 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160326/922ac8c9/attachment-0001.obj>

More information about the Intel-gfx mailing list