[Intel-gfx] [PATCH V3 2/8] drm/i915/gt: Add support of mocs auxiliary registers programming
kernel test robot
lkp at intel.com
Tue Aug 31 00:42:05 UTC 2021
Hi Ayaz,
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 next-20210830]
[cannot apply to v5.14]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Ayaz-A-Siddiqui/drm-i915-gt-Initialize-unused-MOCS-entries-to-L3_WB/20210831-002827
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-a016-20210830 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/449e390824ff0b89a08669d97f456bec3c0f8f74
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ayaz-A-Siddiqui/drm-i915-gt-Initialize-unused-MOCS-entries-to-L3_WB/20210831-002827
git checkout 449e390824ff0b89a08669d97f456bec3c0f8f74
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/gt/intel_mocs.c:496:5: error: no previous prototype for 'get_ctx_reg_count' [-Werror=missing-prototypes]
496 | int get_ctx_reg_count(const struct drm_i915_aux_table *aux)
| ^~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_mocs.c:364:1: error: 'add_aux_reg' defined but not used [-Werror=unused-function]
364 | add_aux_reg(struct drm_i915_aux_table *aux,
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/get_ctx_reg_count +496 drivers/gpu/drm/i915/gt/intel_mocs.c
495
> 496 int get_ctx_reg_count(const struct drm_i915_aux_table *aux)
497 {
498 int count = 0;
499
500 while (aux) {
501 if (aux->type == REG_ENGINE_CONTEXT)
502 count++;
503 aux = aux->next;
504 }
505 return count;
506 }
507
---
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: 39847 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210831/1ffca5c7/attachment-0001.gz>
More information about the Intel-gfx
mailing list