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.rich...@hogyros.de>
Cc: sta...@vger.kernel.org
---
 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 2bb2bc052120..714d5702dfd7 100644
--- a/drivers/gpu/drm/xe/Kconfig
+++ b/drivers/gpu/drm/xe/Kconfig
@@ -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
-- 
2.47.2

Reply via email to