]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Mark xe driver as BROKEN if kernel page size is not 4kB
authorSimon Richter <Simon.Richter@hogyros.de>
Sat, 2 Aug 2025 02:40:36 +0000 (11:40 +0900)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 4 Aug 2025 15:59:11 +0000 (11:59 -0400)
This driver, for the time being, assumes that the kernel page size is 4kB,
so it fails on loong64 and aarch64 with 16kB pages, and ppc64el with 64kB
pages.

Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: stable@vger.kernel.org # v6.8+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://lore.kernel.org/r/20250802024152.3021-1-Simon.Richter@hogyros.de
(cherry picked from commit 0521a868222ffe636bf202b6e9d29292c1e19c62)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/Kconfig

index 2bb2bc052120d867107dceecd892e6252c92db33..714d5702dfd78d9f5154444730b73102599d2799 100644 (file)
@@ -5,6 +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
        select INTERVAL_TREE
        # we need shmfs for the swappable backing store, and in particular
        # the shmem_readpage() which depends upon tmpfs