Skip to content

Commit 022906a

Browse files
GyrosGeierrodrigovivi
authored andcommitted
Mark xe driver as BROKEN if kernel page size is not 4kB
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 <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Fixes: dd08ebf ("drm/xe: Introduce a new DRM driver for Intel GPUs") Cc: [email protected] # v6.8+ Signed-off-by: Thomas Hellström <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit 0521a86) Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent cb7a3f9 commit 022906a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/xe/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config DRM_XE
55
depends on KUNIT || !KUNIT
66
depends on INTEL_VSEC || !INTEL_VSEC
77
depends on X86_PLATFORM_DEVICES || !(X86 && ACPI)
8+
depends on PAGE_SIZE_4KB || COMPILE_TEST || BROKEN
89
select INTERVAL_TREE
910
# we need shmfs for the swappable backing store, and in particular
1011
# the shmem_readpage() which depends upon tmpfs

0 commit comments

Comments
 (0)