Re: [PATCH 2/5] drm/i915: Add per ctx batchbuffer wa for timestamp

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

 



Hi Mika,

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.7-rc2 next-20200423]
[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/Mika-Kuoppala/drm-i915-Make-define-for-lrc-state-offset/20200423-064959
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-f003-20200421 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/gt/intel_lrc.c: In function 'execlists_emit_ctx_bb':
>> drivers/gpu/drm/i915/gt/intel_lrc.c:3251:20: error: unused variable 'batch_start' [-Werror=unused-variable]
     const u32 * const batch_start = cs;
                       ^~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/batch_start +3251 drivers/gpu/drm/i915/gt/intel_lrc.c

  3245	
  3246	static u32 *
  3247	execlists_emit_ctx_bb(struct intel_context *ce,
  3248			      u32 *(*emit)(struct intel_context *, u32 *))
  3249	{
  3250		u32 *cs = context_indirect_bb(ce);
> 3251		const u32 * const batch_start = cs;
  3252	
  3253		cs = emit(ce, cs);
  3254	
  3255		GEM_DEBUG_BUG_ON(cs - batch_start >
  3256				 (I915_GTT_PAGE_SIZE - 4)/sizeof(*cs));
  3257	
  3258		return cs;
  3259	}
  3260	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

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

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

  Powered by Linux