[Intel-gfx] [PATCH] drm/i915: Move ioremap_wc tracking onto VMA
kbuild test robot
lkp at intel.com
Tue Apr 19 17:33:04 UTC 2016
Hi,
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20160419]
[cannot apply to v4.6-rc4]
[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-Move-ioremap_wc-tracking-onto-VMA/20160419-190843
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-rhel (attached as .config)
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_gtt.c: In function 'i915_vma_pin_iomap':
>> drivers/gpu/drm/i915/i915_gem_gtt.c:3644:3: error: implicit declaration of function 'i915_vm_to_ggtt' [-Werror=implicit-function-declaration]
ptr = io_mapping_map_wc(i915_vm_to_ggtt(vma->vm)->mappable,
^
>> drivers/gpu/drm/i915/i915_gem_gtt.c:3644:51: error: invalid type argument of '->' (have 'int')
ptr = io_mapping_map_wc(i915_vm_to_ggtt(vma->vm)->mappable,
^
>> drivers/gpu/drm/i915/i915_gem_gtt.c:3644:9: error: too many arguments to function 'io_mapping_map_wc'
ptr = io_mapping_map_wc(i915_vm_to_ggtt(vma->vm)->mappable,
^
In file included from drivers/gpu/drm/i915/i915_drv.h:36:0,
from drivers/gpu/drm/i915/i915_gem_gtt.c:30:
include/linux/io-mapping.h:158:1: note: declared here
io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset)
^
cc1: some warnings being treated as errors
vim +/i915_vm_to_ggtt +3644 drivers/gpu/drm/i915/i915_gem_gtt.c
3638
3639 GEM_BUG_ON(!vma->is_ggtt);
3640 GEM_BUG_ON((vma->bound & GLOBAL_BIND) == 0);
3641
3642 ptr = vma->iomap;
3643 if (ptr == NULL) {
> 3644 ptr = io_mapping_map_wc(i915_vm_to_ggtt(vma->vm)->mappable,
3645 vma->node.start,
3646 vma->node.size);
3647 if (ptr == NULL)
---
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: 36435 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160420/7491c591/attachment-0001.obj>
More information about the Intel-gfx
mailing list