]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/nouveau/uvmm: Allow larger pages
authorMary Guillemard <mary@mary.zone>
Mon, 10 Nov 2025 15:32:57 +0000 (16:32 +0100)
committerLyude Paul <lyude@redhat.com>
Wed, 12 Nov 2025 17:23:39 +0000 (12:23 -0500)
commitc488a94e7e143b0a6c107e5c7effacca9004ca1a
tree382be7b34369832516911663576d08a6f99f6fea
parent6d13495325930d6a5ccf53e150b6c3f61f4b9a63
drm/nouveau/uvmm: Allow larger pages

Now that everything in UVMM knows about the variable page shift, we can
select larger values.

The proposed approach relies on nouveau_bo::page unless if it would cause
alignment issues (in which case we fall back to searching for an
appropriate shift)

Signed-off-by: Mary Guillemard <mary@mary.zone>
Co-developed-by: Mohamed Ahmed <mohamedahmedegypt2001@gmail.com>
Signed-off-by: Mohamed Ahmed <mohamedahmedegypt2001@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: James Jones <jajones@nvidia.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20251110-nouveau-compv6-v6-2-83b05475f57c@mary.zone
drivers/gpu/drm/nouveau/nouveau_uvmm.c