OpenCloudOS-Kernel/drivers/gpu/drm/nouveau/nvif
Danilo Krummrich 6b252cf422 drm/nouveau: nvkm/vmm: implement raw ops to manage uvmm
The new VM_BIND UAPI uses the DRM GPU VA manager to manage the VA space.
Hence, we a need a way to manipulate the MMUs page tables without going
through the internal range allocator implemented by nvkm/vmm.

This patch adds a raw interface for nvkm/vmm to pass the resposibility
for managing the address space and the corresponding map/unmap/sparse
operations to the upper layers.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230804182406.5222-11-dakr@redhat.com
2023-08-04 20:34:39 +02:00
..
Kbuild drm/nouveau/nvkm: rip out old notify 2022-11-09 10:44:27 +10:00
client.c drm/nouveau: rip out nvkm_client.super 2021-08-18 19:00:15 +10:00
conn.c drm/nouveau/disp: expose conn event class 2022-11-09 10:44:27 +10:00
device.c drm/nouveau/nvif: give every usermode object a human-readable identifier 2020-07-24 18:50:51 +10:00
disp.c drm/nouveau/disp: add head class 2022-11-09 10:43:10 +10:00
driver.c drm/nouveau/nvif: rename client ctor/dtor 2020-07-24 18:50:50 +10:00
event.c drm/nouveau/nvkm: add a replacement for nvkm_notify 2022-11-09 10:44:26 +10:00
fifo.c drm/nouveau/fifo/gk104-: remove use of subdev index in runlist topology info 2021-02-11 11:49:58 +10:00
head.c drm/nouveau/disp: expose head event class 2022-11-09 10:44:27 +10:00
mem.c drm/nouveau/nvif: give every mem object a human-readable identifier 2020-07-24 18:50:51 +10:00
mmu.c drm/nouveau/nvif: fix potential double-free 2023-07-06 17:22:33 +02:00
object.c drm/nouveau/nvif: add wrapper for open-coded nvif_object_constructed() 2022-07-13 13:55:12 +10:00
outp.c drm/nouveau/disp: Fix nvif_outp_acquire_dp() argument size 2023-01-27 11:42:41 -08:00
timer.c drm/nouveau/nvif: protect waits against GPU falling off the bus 2020-04-07 14:37:50 +10:00
user.c drm/nouveau/vfn: move NV_USERMODE class from host 2022-11-09 10:44:36 +10:00
userc361.c drm/nouveau/nvif: access PTIMER through usermode class, if available 2020-04-07 14:37:50 +10:00
vmm.c drm/nouveau: nvkm/vmm: implement raw ops to manage uvmm 2023-08-04 20:34:39 +02:00