[PATCH] drm/i915/guc: Include the GuC registers in the error state

kernel test robot lkp at intel.com
Sat Aug 2 23:33:04 UTC 2025


Hi Daniele,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.16 next-20250801]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Daniele-Ceraolo-Spurio/drm-i915-guc-Include-the-GuC-registers-in-the-error-state/20250730-073447
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
patch link:    https://lore.kernel.org/r/20250729233305.1246875-2-daniele.ceraolospurio%40intel.com
patch subject: [PATCH] drm/i915/guc: Include the GuC registers in the error state
config: i386-randconfig-r112-20250803 (https://download.01.org/0day-ci/archive/20250803/202508030713.XyzPrUx7-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250803/202508030713.XyzPrUx7-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508030713.XyzPrUx7-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/i915_gpu_error.c:696:3: sparse: sparse: symbol 'guc_hw_reg_state' was not declared. Should it be static?

vim +/guc_hw_reg_state +696 drivers/gpu/drm/i915/i915_gpu_error.c

   687	
   688	/*
   689	 * This list includes registers that are useful in debugging GuC hangs. We
   690	 * include them in the error state so that we don't have to reproduce the
   691	 * issue locally to capture them.
   692	 */
   693	const struct {
   694		u32 start;
   695		u32 count;
 > 696	} guc_hw_reg_state[] = {
   697		{ 0xc0b0, 2 },
   698		{ 0xc000, 65 },
   699		{ 0xc140, 1 },
   700		{ 0xc180, 16 },
   701		{ 0xc1dc, 10 },
   702		{ 0xc300, 79 },
   703		{ 0xc4b4, 47 },
   704		{ 0xc574, 1 },
   705		{ 0xc57c, 1 },
   706		{ 0xc584, 23 },
   707		{ 0xc5e4, 105 },
   708		{ 0xc7c0, 1 },
   709		{ 0xc0b0, 2 }
   710	};
   711	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


More information about the Intel-gfx mailing list