[Intel-gfx] [PATCH v2 5/7] drm/i915/dmc: abstract GPU error state dump
kernel test robot
lkp at intel.com
Tue Mar 22 02:58:05 UTC 2022
Hi Jani,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-tip/drm-tip]
[cannot apply to drm-intel/for-linux-next v5.17 next-20220321]
[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/Jani-Nikula/drm-i915-dmc-cleanups/20220321-215213
base: git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20220322/202203221023.tCblMieg-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/0day-ci/linux/commit/1e23e4b2519941d741e3489536b37823cece69d8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jani-Nikula/drm-i915-dmc-cleanups/20220321-215213
git checkout 1e23e4b2519941d741e3489536b37823cece69d8
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash
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/display/intel_dmc.c: In function 'intel_dmc_print_error_state':
>> drivers/gpu/drm/i915/display/intel_dmc.c:822:2: error: implicit declaration of function 'i915_error_printf' [-Werror=implicit-function-declaration]
822 | i915_error_printf(m, "DMC loaded: %s\n",
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/i915_error_printf +822 drivers/gpu/drm/i915/display/intel_dmc.c
813
814 void intel_dmc_print_error_state(struct drm_i915_error_state_buf *m,
815 struct drm_i915_private *i915)
816 {
817 struct intel_dmc *dmc = &i915->dmc;
818
819 if (!HAS_DMC(i915))
820 return;
821
> 822 i915_error_printf(m, "DMC loaded: %s\n",
823 str_yes_no(intel_dmc_has_payload(i915)));
824 i915_error_printf(m, "DMC fw version: %d.%d\n",
825 DMC_VERSION_MAJOR(dmc->version),
826 DMC_VERSION_MINOR(dmc->version));
827 }
828
--
0-DAY CI Kernel Test Service
https://01.org/lkp
More information about the Intel-gfx
mailing list