Hi Jani, kernel test robot noticed the following build errors:
[auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on linus/master v6.16-rc3 next-20250623] [cannot apply to drm-xe/drm-xe-next drm-intel/for-linux-next-fixes drm-tip/drm-tip] [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/Jani-Nikula/drm-i915-pcode-drop-fast-wait-from-snb_pcode_write_timeout/20250623-194523 base: git://anongit.freedesktop.org/drm-intel for-linux-next patch link: https://lore.kernel.org/r/eeaa9cc8438caab2e22f9cb2142fbc18cc0fd861.1750678991.git.jani.nikula%40intel.com patch subject: [CI 3/6] drm/xe/pcode: add struct drm_device based interface config: x86_64-buildonly-randconfig-001-20250623 (https://download.01.org/0day-ci/archive/20250624/202506240230.pgzee52h-...@intel.com/config) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250624/202506240230.pgzee52h-...@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 <l...@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202506240230.pgzee52h-...@intel.com/ All errors (new ones prefixed by >>): >> ld.lld: error: duplicate symbol: intel_pcode_read >>> defined at intel_pcode.c:281 (drivers/gpu/drm/i915/intel_pcode.c:281) >>> drivers/gpu/drm/i915/intel_pcode.o:(intel_pcode_read) in archive vmlinux.a >>> defined at xe_device.h:60 (drivers/gpu/drm/xe/xe_device.h:60) >>> drivers/gpu/drm/xe/xe_pcode.o:(.text+0x808) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: __cfi_intel_pcode_read >>> defined at intel_pcode.c:273 (drivers/gpu/drm/i915/intel_pcode.c:273) >>> drivers/gpu/drm/i915/intel_pcode.o:(__cfi_intel_pcode_read) in archive vmlinux.a >>> defined at xe_pcode.c:336 (drivers/gpu/drm/xe/xe_pcode.c:336) >>> drivers/gpu/drm/xe/xe_pcode.o:(.text+0x800) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: intel_pcode_write_timeout >>> defined at intel_pcode.c:288 (drivers/gpu/drm/i915/intel_pcode.c:288) >>> drivers/gpu/drm/i915/intel_pcode.o:(intel_pcode_write_timeout) in archive vmlinux.a >>> defined at xe_device.h:60 (drivers/gpu/drm/xe/xe_device.h:60) >>> drivers/gpu/drm/xe/xe_pcode.o:(.text+0x828) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: __cfi_intel_pcode_write_timeout >>> defined at intel_pcode.c:281 (drivers/gpu/drm/i915/intel_pcode.c:281) >>> drivers/gpu/drm/i915/intel_pcode.o:(__cfi_intel_pcode_write_timeout) in archive vmlinux.a >>> defined at xe_pcode.c:346 (drivers/gpu/drm/xe/xe_pcode.c:346) >>> drivers/gpu/drm/xe/xe_pcode.o:(.text+0x820) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: intel_pcode_request >>> defined at intel_pcode.c:296 (drivers/gpu/drm/i915/intel_pcode.c:296) >>> drivers/gpu/drm/i915/intel_pcode.o:(intel_pcode_request) in archive vmlinux.a >>> defined at xe_device.h:60 (drivers/gpu/drm/xe/xe_device.h:60) >>> drivers/gpu/drm/xe/xe_pcode.o:(.text+0x848) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: __cfi_intel_pcode_request >>> defined at intel_pcode.c:288 (drivers/gpu/drm/i915/intel_pcode.c:288) >>> drivers/gpu/drm/i915/intel_pcode.o:(__cfi_intel_pcode_request) in archive vmlinux.a >>> defined at xe_pcode.c:354 (drivers/gpu/drm/xe/xe_pcode.c:354) >>> drivers/gpu/drm/xe/xe_pcode.o:(.text+0x840) in archive vmlinux.a -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki