Re: [PATCH] drm/i915/gtt: Invalidate GGTT caches after writing the gen6 page directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.17 next-20180605]
[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-gtt-Invalidate-GGTT-caches-after-writing-the-gen6-page-directories/20180607-003348
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x007-201822 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
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 'gen6_write_page_range':
>> drivers/gpu/drm/i915/i915_gem_gtt.c:1747:28: error: 'struct i915_hw_ppgtt' has no member named 'vm'
     gen6_ggtt_invalidate(ppgtt->vm.i915);
                               ^~
   drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen6_alloc_va_range':
   drivers/gpu/drm/i915/i915_gem_gtt.c:1963:29: error: 'struct i915_hw_ppgtt' has no member named 'vm'
      gen6_ggtt_invalidate(ppgtt->vm.i915);
                                ^~

vim +1747 drivers/gpu/drm/i915/i915_gem_gtt.c

  1734	
  1735	/* Write all the page tables found in the ppgtt structure to incrementing page
  1736	 * directories. */
  1737	static void gen6_write_page_range(struct i915_hw_ppgtt *ppgtt,
  1738					  u32 start, u32 length)
  1739	{
  1740		struct i915_page_table *pt;
  1741		unsigned int pde;
  1742	
  1743		gen6_for_each_pde(pt, &ppgtt->pd, start, length, pde)
  1744			gen6_write_pde(ppgtt, pde, pt);
  1745	
  1746		mark_tlbs_dirty(ppgtt);
> 1747		gen6_ggtt_invalidate(ppgtt->vm.i915);
  1748	}
  1749	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux