#include "vmm.h"
#include <nvif/ifb00d.h>
#include <nvif/unpack.h>
static void
gm200_vmm_pgt_sparse(struct nvkm_vmm *vmm,
struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes)
{ … }
static const struct nvkm_vmm_desc_func
gm200_vmm_spt = …;
static const struct nvkm_vmm_desc_func
gm200_vmm_lpt = …;
static void
gm200_vmm_pgd_sparse(struct nvkm_vmm *vmm,
struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes)
{ … }
static const struct nvkm_vmm_desc_func
gm200_vmm_pgd = …;
const struct nvkm_vmm_desc
gm200_vmm_desc_17_12[] = …;
const struct nvkm_vmm_desc
gm200_vmm_desc_17_17[] = …;
const struct nvkm_vmm_desc
gm200_vmm_desc_16_12[] = …;
const struct nvkm_vmm_desc
gm200_vmm_desc_16_16[] = …;
int
gm200_vmm_join_(struct nvkm_vmm *vmm, struct nvkm_memory *inst, u64 base)
{ … }
int
gm200_vmm_join(struct nvkm_vmm *vmm, struct nvkm_memory *inst)
{ … }
static const struct nvkm_vmm_func
gm200_vmm_17 = …;
static const struct nvkm_vmm_func
gm200_vmm_16 = …;
int
gm200_vmm_new_(const struct nvkm_vmm_func *func_16,
const struct nvkm_vmm_func *func_17,
struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size,
void *argv, u32 argc, struct lock_class_key *key,
const char *name, struct nvkm_vmm **pvmm)
{ … }
int
gm200_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size,
void *argv, u32 argc, struct lock_class_key *key,
const char *name, struct nvkm_vmm **pvmm)
{ … }
int
gm200_vmm_new_fixed(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size,
void *argv, u32 argc, struct lock_class_key *key,
const char *name, struct nvkm_vmm **pvmm)
{ … }