linux-next: Tree for Jun 25 (drivers/gpu/drm/{i915,xe}/intel_pcode.o)

Lucas De Marchi lucas.demarchi at intel.com
Thu Jun 26 19:15:26 UTC 2025


On Wed, Jun 25, 2025 at 08:57:40PM -0700, Randy Dunlap wrote:
>
>
>On 6/25/25 12:22 AM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20250624:
>>
>
>on i386, when both CONFIG_DRM_XE=y
>and CONFIG_DRM_I915=y:
>
>ld: drivers/gpu/drm/xe/xe_pcode.o: in function `intel_pcode_read':
>xe_pcode.c:(.text+0x7d0): multiple definition of `intel_pcode_read'; drivers/gpu/drm/i915/intel_pcode.o:intel_pcode.c:(.text+0x990): first defined here
>ld: drivers/gpu/drm/xe/xe_pcode.o: in function `intel_pcode_write_timeout':
>xe_pcode.c:(.text+0x850): multiple definition of `intel_pcode_write_timeout'; drivers/gpu/drm/i915/intel_pcode.o:intel_pcode.c:(.text+0x9b0): first defined here
>ld: drivers/gpu/drm/xe/xe_pcode.o: in function `intel_pcode_request':
>xe_pcode.c:(.text+0x8f0): multiple definition of `intel_pcode_request'; drivers/gpu/drm/i915/intel_pcode.o:intel_pcode.c:(.text+0x9d0): first defined here

not exclusive to i386... the pcode part used to be guarded by
CONFIG_DRM_XE_DISPLAY, but that is broken now. Possible fix discussed
in https://lore.kernel.org/intel-xe/gbisrh7ep2gn2fxv7xz4g4sy75qjpmcr5yqdx5atlab2oxevlx@j3zwx3k4o4x4/

Lucas De Marchi


>
>
>-- 
>~Randy
>


More information about the Intel-xe mailing list