[Intel-gfx] [PATCH] drm/i915: Skip MCHBAR queries on dgfx

kbuild test robot lkp at intel.com
Sat Nov 2 05:18:20 UTC 2019


Hi Stuart,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v5.4-rc5 next-20191031]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Stuart-Summers/drm-i915-Skip-MCHBAR-queries-on-dgfx/20191102-122440
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 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 errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_drv.c: In function 'intel_get_dram_info':
>> drivers/gpu/drm/i915/i915_drv.c:1143:33: error: implicit declaration of function 'IS_DGFX'; did you mean 'IS_DAX'? [-Werror=implicit-function-declaration]
     if (INTEL_GEN(dev_priv) < 9 || IS_DGFX(dev_priv))
                                    ^~~~~~~
                                    IS_DAX
   cc1: some warnings being treated as errors

vim +1143 drivers/gpu/drm/i915/i915_drv.c

  1129	
  1130	static void
  1131	intel_get_dram_info(struct drm_i915_private *dev_priv)
  1132	{
  1133		struct dram_info *dram_info = &dev_priv->dram_info;
  1134		int ret;
  1135	
  1136		/*
  1137		 * Assume 16Gb DIMMs are present until proven otherwise.
  1138		 * This is only used for the level 0 watermark latency
  1139		 * w/a which does not apply to bxt/glk.
  1140		 */
  1141		dram_info->is_16gb_dimm = !IS_GEN9_LP(dev_priv);
  1142	
> 1143		if (INTEL_GEN(dev_priv) < 9 || IS_DGFX(dev_priv))
  1144			return;
  1145	
  1146		if (IS_GEN9_LP(dev_priv))
  1147			ret = bxt_get_dram_info(dev_priv);
  1148		else
  1149			ret = skl_get_dram_info(dev_priv);
  1150		if (ret)
  1151			return;
  1152	
  1153		DRM_DEBUG_KMS("DRAM bandwidth: %u kBps, channels: %u\n",
  1154			      dram_info->bandwidth_kbps,
  1155			      dram_info->num_channels);
  1156	
  1157		DRM_DEBUG_KMS("DRAM ranks: %u, 16Gb DIMMs: %s\n",
  1158			      dram_info->ranks, yesno(dram_info->is_16gb_dimm));
  1159	}
  1160	

---
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: 28068 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20191102/5b8422aa/attachment-0001.gz>


More information about the Intel-gfx mailing list