Skip to content

Commit aa18d57

Browse files
Harry Austenlucasdemarchi
authored andcommitted
drm/xe: Allow dropping kunit dependency as built-in
Fix Kconfig symbol dependency on KUNIT, which isn't actually required for XE to be built-in. However, if KUNIT is enabled, it must be built-in too. Fixes: 08987a8 ("drm/xe: Fix build with KUNIT=m") Cc: Lucas De Marchi <[email protected]> Cc: Thomas Hellström <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Maarten Lankhorst <[email protected]> Signed-off-by: Harry Austen <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lucas De Marchi <[email protected]> (cherry picked from commit a559434) Signed-off-by: Lucas De Marchi <[email protected]>
1 parent de6acfd commit aa18d57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/xe/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config DRM_XE
33
tristate "Intel Xe2 Graphics"
4-
depends on DRM && PCI && (m || (y && KUNIT=y))
4+
depends on DRM && PCI
5+
depends on KUNIT || !KUNIT
56
depends on INTEL_VSEC || !INTEL_VSEC
67
depends on X86_PLATFORM_DEVICES || !(X86 && ACPI)
78
select INTERVAL_TREE

0 commit comments

Comments
 (0)