[Intel-gfx] [PATCH 2/8] drm/i915: Use insert_page for pwrite_fast
kbuild test robot
lkp at intel.com
Tue Dec 15 07:10:56 PST 2015
Hi Ankitprasad,
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.4-rc5 next-20151215]
url: https://github.com/0day-ci/linux/commits/ankitprasad-r-sharma-intel-com/drm-i915-Allow-use-of-get_dma_address-for-stolen-backed-objects/20151215-191838
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.c: In function 'i915_gem_gtt_pwrite_fast':
>> drivers/gpu/drm/i915/i915_gem.c:824:18: error: 'struct i915_address_space' has no member named 'insert_page'
i915->gtt.base.insert_page(&i915->gtt.base,
^
>> drivers/gpu/drm/i915/i915_gem.c:825:10: error: implicit declaration of function 'i915_gem_object_get_dma_address' [-Werror=implicit-function-declaration]
i915_gem_object_get_dma_address(obj, offset >> PAGE_SHIFT),
^
cc1: some warnings being treated as errors
vim +824 drivers/gpu/drm/i915/i915_gem.c
818 u32 page_base = node.start;
819 unsigned page_offset = offset_in_page(offset);
820 unsigned page_length = PAGE_SIZE - page_offset;
821 page_length = remain < page_length ? remain : page_length;
822 if (node.allocated) {
823 wmb();
> 824 i915->gtt.base.insert_page(&i915->gtt.base,
> 825 i915_gem_object_get_dma_address(obj, offset >> PAGE_SHIFT),
826 node.start,
827 I915_CACHE_NONE,
828 0);
---
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: 35623 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151215/c2317119/attachment-0001.obj>
More information about the Intel-gfx
mailing list