]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau/imem: allow bar2 mapping of user allocations
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Jun 2022 10:47:21 +0000 (20:47 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2022 00:44:46 +0000 (10:44 +1000)
commit973b32443b090870903ad8346adfc911e7c0f188
treef2a7fc3d949334d77ef402628e2ee1ddd7228648
parente442f1e453143c801b9fb213f514ceabb6c3b746
drm/nouveau/imem: allow bar2 mapping of user allocations

Will be used to init client-allocated USERD to default values.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h