linux/drivers/gpu/drm/nova
Brendan Shephard 255153afbc drm/nova: Align GEM memory allocation to system page size
Use page::page_align for GEM object memory allocation to ensure the
allocation is page aligned. This is important on systems where the
default page size is not 4k. Such as 16k or 64k aarch64 systems.

This change uses the updated page_align() function which returns
Option<usize> for overflow safety. (See "rust: Return Option from
page_align and ensure no usize overflow").

Signed-off-by: Brendan Shephard <bshephar@bne-home.net>
Link: https://patch.msgid.link/20251215083416.266469-1-bshephar@bne-home.net
[ Import page module only. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-12-29 15:43:20 +01:00
..
driver.rs gpu: nova: replace kernel::c_str! with C-Strings 2025-12-22 17:56:04 +01:00
file.rs rust: auxiliary: consider auxiliary devices always have a parent 2025-10-29 18:29:32 +01:00
gem.rs drm/nova: Align GEM memory allocation to system page size 2025-12-29 15:43:20 +01:00
Kconfig drm: nova: select NOVA_CORE 2025-10-30 00:38:15 +01:00
Makefile
nova.rs Merge drm/drm-next into drm-misc-n 2025-08-11 14:37:45 +02:00