Re: [PATCH 4/5] drm/xe: use 4K alignment for cursor jumps

2025-02-25 Thread Matthew Brost
On Wed, Feb 26, 2025 at 10:00:21AM +0800, Mingcong Bai via B4 Relay wrote: > From: Mingcong Bai > > It appears that the xe_res_cursor also assumes 4K alignment. > > Current code uses `PAGE_SIZE' as an assumed alignment reference but 4K > kernel page sizes is by no means a guarantee. On 16K-paged

[PATCH 4/5] drm/xe: use 4K alignment for cursor jumps

2025-02-25 Thread Mingcong Bai via B4 Relay
From: Mingcong Bai It appears that the xe_res_cursor also assumes 4K alignment. Current code uses `PAGE_SIZE' as an assumed alignment reference but 4K kernel page sizes is by no means a guarantee. On 16K-paged kernels, this causes driver failures during boot up: [ 23.242757] [ cut