diff --git a/patch/kernel/archive/uefi-loong64-6.16/0006-enable-xe-on-16K-pagesize.patch b/patch/kernel/archive/uefi-loong64-6.16/0006-enable-xe-on-16K-pagesize.patch new file mode 100644 index 000000000..4ed3cf97a --- /dev/null +++ b/patch/kernel/archive/uefi-loong64-6.16/0006-enable-xe-on-16K-pagesize.patch @@ -0,0 +1,25 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Jianfeng Liu +Date: Tue, 16 Sep 2025 09:14:47 +0800 +Subject: gpu: xe: enable build with 16KB page size + +--- + drivers/gpu/drm/xe/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig +index 111111111111..222222222222 100644 +--- a/drivers/gpu/drm/xe/Kconfig ++++ b/drivers/gpu/drm/xe/Kconfig +@@ -5,7 +5,7 @@ config DRM_XE + depends on KUNIT || !KUNIT + depends on INTEL_VSEC || !INTEL_VSEC + depends on X86_PLATFORM_DEVICES || !(X86 && ACPI) +- depends on PAGE_SIZE_4KB || COMPILE_TEST || BROKEN ++ depends on PAGE_SIZE_4KB || PAGE_SIZE_16KB || COMPILE_TEST || BROKEN + select INTERVAL_TREE + # we need shmfs for the swappable backing store, and in particular + # the shmem_readpage() which depends upon tmpfs +-- +Armbian +