intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Select INTEL_VSEC to fix build dependency
@ 2025-02-27  7:32 Su Hui
  2025-02-27 10:47 ` Jani Nikula
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Su Hui @ 2025-02-27  7:32 UTC (permalink / raw)
  To: lucas.demarchi, thomas.hellstrom, rodrigo.vivi, maarten.lankhorst,
	mripard, tzimmermann, airlied, simona
  Cc: Su Hui, ilpo.jarvinen, andriy.shevchenko, michael.j.ruhl,
	intel-xe, dri-devel, linux-kernel, kernel-janitors

When build randconfig, there is an error:
ld: drivers/gpu/drm/xe/xe_vsec.o: in function `xe_vsec_init':
xe_vsec.c:(.text+0x182): undefined reference to `intel_vsec_register'

When CONFIG_DRM_XE=y and CONFIG_INTEL_VSEC=m is set, ld couldn't find
'intel_vsec_register'. Select INTEL_VSEC to fix this error.

Fixes: 0c45e76fcc62 ("drm/xe/vsec: Support BMG devices")
Signed-off-by: Su Hui <suhui@nfschina.com>
---
 drivers/gpu/drm/xe/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
index b51a2bde73e2..7a60d96d2dd6 100644
--- a/drivers/gpu/drm/xe/Kconfig
+++ b/drivers/gpu/drm/xe/Kconfig
@@ -44,6 +44,7 @@ config DRM_XE
 	select WANT_DEV_COREDUMP
 	select AUXILIARY_BUS
 	select HMM_MIRROR
+	select INTEL_VSEC
 	help
 	  Experimental driver for Intel Xe series GPUs
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-03-07 14:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27  7:32 [PATCH] drm/xe: Select INTEL_VSEC to fix build dependency Su Hui
2025-02-27 10:47 ` Jani Nikula
2025-02-27 11:38   ` Su Hui
2025-02-27 16:03 ` Lucas De Marchi
2025-02-28  3:33   ` Su Hui
2025-02-27 17:52 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
2025-03-01 20:09 ` [PATCH] " kernel test robot
2025-03-04 19:21 ` kernel test robot
2025-03-05 13:15 ` kernel test robot
2025-03-06  1:36   ` Su Hui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).