[PATCH v2] drm/xe/vsec: fix CONFIG_INTEL_VSEC dependency

Lucas De Marchi lucas.demarchi at intel.com
Fri May 30 21:29:26 UTC 2025


On Thu, 29 May 2025 10:23:56 -0700, Lucas De Marchi wrote:
> The XE driver can be built with or without VSEC support, but fails to link as
> built-in if vsec is in a loadable module:
> 
> x86_64-linux-ld: vmlinux.o: in function `xe_vsec_init':
> (.text+0x1e83e16): undefined reference to `intel_vsec_register'
> 
> The normal fix for this is to add a 'depends on INTEL_VSEC || !INTEL_VSEC',
> forcing XE to be a loadable module as well, but that causes a circular
> dependency:
> 
> [...]

Applied to drm-xe-next, thanks!

[1/1] drm/xe/vsec: fix CONFIG_INTEL_VSEC dependency
      commit: e4931f8be347ec5f19df4d6d33aea37145378c42

Best regards,
-- 
Lucas De Marchi



More information about the Intel-xe mailing list