[Intel-gfx] [PATCH] drm/i915/gt: Apply Enable Boot Fetch to MBC control register

kbuild test robot lkp at intel.com
Sun Feb 9 03:11:42 UTC 2020


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 drm-tip/drm-tip v5.5 next-20200207]
[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/Chris-Wilson/drm-i915-gt-Apply-Enable-Boot-Fetch-to-MBC-control-register/20200209-081806
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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/gt/intel_workarounds.c: In function 'gt_init_workarounds':
>> drivers/gpu/drm/i915/gt/intel_workarounds.c:973:3: error: implicit declaration of function 'gen7_gt_workarounds'; did you mean 'gt_init_workarounds'? [-Werror=implicit-function-declaration]
      gen7_gt_workarounds(i915, wal);
      ^~~~~~~~~~~~~~~~~~~
      gt_init_workarounds
>> drivers/gpu/drm/i915/gt/intel_workarounds.c:975:3: error: implicit declaration of function 'gen6_gt_workarounds'; did you mean 'gt_init_workarounds'? [-Werror=implicit-function-declaration]
      gen6_gt_workarounds(i915, wal);
      ^~~~~~~~~~~~~~~~~~~
      gt_init_workarounds
   At top level:
   drivers/gpu/drm/i915/gt/intel_workarounds.c:783:1: warning: 'gen6_gt_workarounds_init' defined but not used [-Wunused-function]
    gen6_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal)
    ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/gt/intel_workarounds.c:777:1: warning: 'gen7_gt_workarounds_init' defined but not used [-Wunused-function]
    gen7_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal)
    ^~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +973 drivers/gpu/drm/i915/gt/intel_workarounds.c

   952	
   953	static void
   954	gt_init_workarounds(struct drm_i915_private *i915, struct i915_wa_list *wal)
   955	{
   956		if (IS_GEN(i915, 12))
   957			tgl_gt_workarounds_init(i915, wal);
   958		else if (IS_GEN(i915, 11))
   959			icl_gt_workarounds_init(i915, wal);
   960		else if (IS_CANNONLAKE(i915))
   961			cnl_gt_workarounds_init(i915, wal);
   962		else if (IS_COFFEELAKE(i915))
   963			cfl_gt_workarounds_init(i915, wal);
   964		else if (IS_GEMINILAKE(i915))
   965			glk_gt_workarounds_init(i915, wal);
   966		else if (IS_KABYLAKE(i915))
   967			kbl_gt_workarounds_init(i915, wal);
   968		else if (IS_BROXTON(i915))
   969			bxt_gt_workarounds_init(i915, wal);
   970		else if (IS_SKYLAKE(i915))
   971			skl_gt_workarounds_init(i915, wal);
   972		else if (IS_GEN(i915, 7))
 > 973			gen7_gt_workarounds(i915, wal);
   974		else if (IS_GEN(i915, 6))
 > 975			gen6_gt_workarounds(i915, wal);
   976		else if (INTEL_GEN(i915) < 6)
   977			return;
   978		else
   979			MISSING_CASE(INTEL_GEN(i915));
   980	}
   981	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 71196 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20200209/422b9f8e/attachment-0001.gz>


More information about the Intel-gfx mailing list