[Intel-gfx] [PATCH 2/5] drm/i915: Add per ctx batchbuffer wa for timestamp
kbuild test robot
lkp at intel.com
Thu Apr 23 14:36:05 UTC 2020
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 at intel.com>
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@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35257 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20200423/1f77fd26/attachment-0001.gz>
More information about the Intel-gfx
mailing list