Re: [PATCH v2 0/5] drm/xe: enable driver usage on non-4KiB kernels
From: Simon Richter
Date: Mon Jun 16 2025 - 01:54:13 EST
Hi,
On 6/13/25 10:11, Mingcong Bai via B4 Relay wrote:
This patch series attempts to enable the use of xe DRM driver on non-4KiB
kernel page platforms. This involves fixing the ttm/bo interface, as well
as parts of the userspace API to make use of kernel `PAGE_SIZE' for
alignment instead of the assumed `SZ_4K', it also fixes incorrect usage of
`PAGE_SIZE' in the GuC and ring buffer interface code to make sure all
instructions/commands were aligned to 4KiB barriers (per the Programmer's
Manual for the GPUs covered by this DRM driver).
Tested on POWER9 (TalosII) with B580, comparing commit b8f759deb9 with
4k pages with the same plus these patches with 64k pages. I did not test
4k pages with these patches, I suspect that is already well covered by CI.
The Piglit test suite reports the exact same number of pass/fail/crash
for both configurations.
https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1310#note_2959331
Are there other tests that make sense? Piglit does not include video
playback, for example. Since I have a dGPU, I can't run SR-IOV tests,
though.
Simon