]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv04.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / drivers / gpu / drm / nouveau / nvkm / subdev / mmu / nv04.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NV04_MMU_PRIV__
3 #define __NV04_MMU_PRIV__
4 #define nv04_mmu(p) container_of((p), struct nv04_mmu, base)
5 #include "priv.h"
6
7 struct nv04_mmu {
8 struct nvkm_mmu base;
9 struct nvkm_vm *vm;
10 dma_addr_t null;
11 void *nullp;
12 };
13
14 int nv04_mmu_new_(const struct nvkm_mmu_func *, struct nvkm_device *,
15 int index, struct nvkm_mmu **);
16 void *nv04_mmu_dtor(struct nvkm_mmu *);
17
18 extern const struct nvkm_mmu_func nv04_mmu;
19 #endif