drm/nouveau: get vmm via nouveau_cli_vmm()
authorDanilo Krummrich <dakr@redhat.com>
Fri, 4 Aug 2023 18:23:44 +0000 (20:23 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Fri, 4 Aug 2023 18:34:33 +0000 (20:34 +0200)
commit7b05a7c0c9ca6e7e2d27181504920987226477e5
tree713cd95d1ee34b58131034cf940c23c285e49625
parente02238990b1ab2dfc8abb4c28369f1da6e863f81
drm/nouveau: get vmm via nouveau_cli_vmm()

Provide a getter function for the client's current vmm context. Since
we'll add a new (u)vmm context for UMD bindings in subsequent commits,
this will keep the code clean.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230804182406.5222-5-dakr@redhat.com
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_chan.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_gem.c