[Intel-gfx] [PATCH] drm/i915: Remember to set vma->pages for the preallocated stolen object

kbuild test robot lkp at intel.com
Wed Aug 17 11:02:01 UTC 2016


Hi Chris,

[auto build test ERROR on next-20160817]
[cannot apply to drm-intel/for-linux-next v4.8-rc2 v4.8-rc1 v4.7-rc7 v4.8-rc2]
[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/drm-i915-Remember-to-set-vma-pages-for-the-preallocated-stolen-object/20160817-183701
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_gem_stolen.c: In function 'i915_gem_object_create_stolen_for_preallocated':
>> drivers/gpu/drm/i915/i915_gem_stolen.c:708:5: error: 'struct i915_vma' has no member named 'pages'
     vma->pages = obj->pages;
        ^~

vim +708 drivers/gpu/drm/i915/i915_gem_stolen.c

   702		ret = drm_mm_reserve_node(&ggtt->base.mm, &vma->node);
   703		if (ret) {
   704			DRM_DEBUG_KMS("failed to allocate stolen GTT space\n");
   705			goto err;
   706		}
   707	
 > 708		vma->pages = obj->pages;
   709		vma->flags |= I915_VMA_GLOBAL_BIND;
   710		__i915_vma_set_map_and_fenceable(vma);
   711		list_move_tail(&vma->vm_link, &ggtt->base.inactive_list);

---
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: 54929 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160817/f34430c9/attachment-0001.obj>


More information about the Intel-gfx mailing list