]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nouveau/vmm: rewrite pte tracker using a struct and bitfields.
authorDave Airlie <airlied@redhat.com>
Wed, 4 Feb 2026 03:00:05 +0000 (13:00 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Feb 2026 20:03:26 +0000 (06:03 +1000)
commitc4d53e567d3b6f6211d013e6c5c3672b26a49845
tree577de800ac4c3929bdc1ea58fa978f4b6e8c009c
parent750817a7c41de083ca5d73052e97bb7b67d7c394
nouveau/vmm: rewrite pte tracker using a struct and bitfields.

I want to increase the counters here and start tracking LPTs as well
as there are certain situations where userspace with mixed page sizes
can cause ref/unrefs to live longer so need better reference counting.

This should be entirely non-functional.

Reviewed-by: Mary Guillemard <mary@mary.zone>
Tested-by: Mary Guillemard <mary@mary.zone>
Tested-by: Mel Henning <mhenning@darkrefraction.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patch.msgid.link/20260204030208.2313241-2-airlied@gmail.com
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h