[Intel-gfx] [PATCH] drm/i915: Remove i915 ggtt WA since GT E
kbuild test robot
lkp at intel.com
Mon Aug 12 04:34:26 UTC 2019
Hi Dong,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[cannot apply to v5.3-rc4 next-20190809]
[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/Dong-Yang/drm-i915-Remove-i915-ggtt-WA-since-GT-E/20190812-111840
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/i915/display/intel_display_types.h:46:0,
from drivers/gpu/drm/i915/i915_drv.c:54:
drivers/gpu/drm/i915/i915_drv.h: In function 'intel_ggtt_update_needs_vtd_wa':
>> drivers/gpu/drm/i915/i915_drv.h:2259:9: error: expected expression before 'return'
return return IS_BXT_REVID(dev_priv, 0, BXT_REVID_D0) && intel_vtd_active();
^~~~~~
--
In file included from drivers/gpu/drm/i915/i915_gem_gtt.c:41:0:
drivers/gpu/drm/i915/i915_drv.h: In function 'intel_ggtt_update_needs_vtd_wa':
>> drivers/gpu/drm/i915/i915_drv.h:2259:9: error: expected expression before 'return'
return return IS_BXT_REVID(dev_priv, 0, BXT_REVID_D0) && intel_vtd_active();
^~~~~~
>> drivers/gpu/drm/i915/i915_drv.h:2260:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +/return +2259 drivers/gpu/drm/i915/i915_drv.h
2255
2256 static inline bool
2257 intel_ggtt_update_needs_vtd_wa(struct drm_i915_private *dev_priv)
2258 {
> 2259 return return IS_BXT_REVID(dev_priv, 0, BXT_REVID_D0) && intel_vtd_active();
> 2260 }
2261
---
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/gzip
Size: 28082 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190812/b1be97a0/attachment-0001.gz>
More information about the Intel-gfx
mailing list