[Intel-gfx] [PATCH V3 2/8] drm/i915/gt: Add support of mocs auxiliary registers programming
kernel test robot
lkp at intel.com
Mon Aug 30 21:50:39 UTC 2021
Hi Ayaz,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING 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: x86_64-randconfig-a014-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=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/i915/gt/intel_mocs.c:496:5: warning: no previous prototype for 'get_ctx_reg_count' [-Wmissing-prototypes]
496 | int get_ctx_reg_count(const struct drm_i915_aux_table *aux)
| ^~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_mocs.c:364:1: warning: 'add_aux_reg' defined but not used [-Wunused-function]
364 | add_aux_reg(struct drm_i915_aux_table *aux,
| ^~~~~~~~~~~
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: 42892 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210831/83af95ba/attachment-0001.gz>
More information about the Intel-gfx
mailing list