[Intel-gfx] [PATCH v3 03/28] drm/i915/dg1: Add DG1 PCI IDs

kernel test robot lkp at intel.com
Thu Jul 2 06:00:24 UTC 2020


Hi Lucas,

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-20200701]
[cannot apply to v5.8-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Lucas-De-Marchi/Introduce-DG1/20200702-075819
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-m021-20200701 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0

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/i915_pci.c:903:39: error: 'dg1_info' defined but not used [-Werror=unused-const-variable=]
     903 | static const struct intel_device_info dg1_info = {
         |                                       ^~~~~~~~
   cc1: all warnings being treated as errors

vim +/dg1_info +903 drivers/gpu/drm/i915/i915_pci.c

   896	
   897	#define GEN12_DGFX_FEATURES \
   898		GEN12_FEATURES, \
   899		.memory_regions = REGION_SMEM | REGION_LMEM, \
   900		.has_master_unit_irq = 1, \
   901		.is_dgfx = 1
   902	
 > 903	static const struct intel_device_info dg1_info = {
   904		GEN12_DGFX_FEATURES,
   905		PLATFORM(INTEL_DG1),
   906		.pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C) | BIT(PIPE_D),
   907		.require_force_probe = 1,
   908		.engine_mask =
   909			BIT(RCS0) | BIT(BCS0) | BIT(VECS0) |
   910			BIT(VCS0) | BIT(VCS2),
   911	};
   912	

---
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: 41842 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20200702/0b5255c7/attachment-0001.gz>


More information about the Intel-gfx mailing list