[PATCH v2 0/5] drm/xe: enable driver usage on non-4KiB kernels
Simon Richter
Simon.Richter at hogyros.de
Wed Jul 9 05:33:46 UTC 2025
Hi,
On 7/9/25 13:35, Matthew Brost wrote:
> Did this series set bo->size to a different value than the size argument
> to drm_gem_private_object_init? If it did, that could be an issue. If
> not, s/bo->size/xe_bo_size(bo)
Patch 1/5 changes both bo->size and the argument to
drm_gem_private_object_init from "size" to "aligned_size", which is
"size" rounded up to the kernel page size, so I think the assignment to
bo->size can just be dropped.
That said, I think the logic in ___xe_bo_create_locked is correct only
up to 64k kernel pages. I'm not aware of any architecture using larger
pages, though.
Simon
More information about the Intel-xe
mailing list