linux/common-config: update for 6.18

This commit is contained in:
K900
2025-10-13 11:39:21 +03:00
parent e23110be0d
commit e9b977bc41

View File

@@ -550,7 +550,7 @@ let
DRM_AMD_ISP = whenAtLeast "6.11" yes;
# Enable new firmware (and by extension NVK) for compatible hardware on Nouveau
DRM_NOUVEAU_GSP_DEFAULT = whenAtLeast "6.8" yes;
DRM_NOUVEAU_GSP_DEFAULT = whenBetween "6.8" "6.18" yes;
# Enable Nouveau shared virtual memory (used by OpenCL)
DEVICE_PRIVATE = whenHasDevicePrivate yes;
@@ -568,6 +568,11 @@ let
# Intel GVT-g graphics virtualization supports 64-bit only
DRM_I915_GVT = yes;
DRM_I915_GVT_KVMGT = module;
# Enable Hyper-V guest stuff
HYPERV = lib.mkMerge [
(whenOlder "6.18" module)
(whenAtLeast "6.18" yes)
];
# Enable Hyper-V Synthetic DRM Driver
DRM_HYPERV = whenAtLeast "5.14" module;
# And disable the legacy framebuffer driver when we have the new one
@@ -683,8 +688,8 @@ let
EXT2_FS_POSIX_ACL = yes;
EXT2_FS_SECURITY = yes;
EXT3_FS_POSIX_ACL = yes;
EXT3_FS_SECURITY = yes;
EXT3_FS_POSIX_ACL = option yes;
EXT3_FS_SECURITY = option yes;
EXT4_FS_POSIX_ACL = yes;
EXT4_FS_SECURITY = yes;
@@ -1020,7 +1025,7 @@ let
ZRAM_DEF_COMP_ZSTD = whenAtLeast "5.11" yes;
ZSWAP = option yes;
ZSWAP_COMPRESSOR_DEFAULT_ZSTD = whenAtLeast "5.7" (lib.mkOptionDefault yes);
ZPOOL = yes;
ZPOOL = whenOlder "6.18" yes;
ZSMALLOC = option yes;
};
@@ -1085,6 +1090,8 @@ let
HID_BATTERY_STRENGTH = yes;
# enabled by default in x86_64 but not arm64, so we do that here
HIDRAW = yes;
# 6.18-rc1 fails to link otherwise, at least on aarch64
HID_HAPTIC = whenAtLeast "6.18" yes;
# Enable loading HID fixups as eBPF from userspace
HID_BPF = whenAtLeast "6.3" (whenPlatformHasEBPFJit yes);