]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - 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
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
5ce3bf3c
BS
2#ifndef __NV04_MMU_PRIV__
3#define __NV04_MMU_PRIV__
c9582455
BS
4#define nv04_mmu(p) container_of((p), struct nv04_mmu, base)
5#include "priv.h"
5ce3bf3c 6
1f5bffca 7struct nv04_mmu {
42594600
BS
8 struct nvkm_mmu base;
9 struct nvkm_vm *vm;
5ce3bf3c
BS
10 dma_addr_t null;
11 void *nullp;
12};
13
c9582455
BS
14int nv04_mmu_new_(const struct nvkm_mmu_func *, struct nvkm_device *,
15 int index, struct nvkm_mmu **);
16void *nv04_mmu_dtor(struct nvkm_mmu *);
17
18extern const struct nvkm_mmu_func nv04_mmu;
5ce3bf3c 19#endif