The namespace of NVKM is being changed to nvkm_ instead of nouveau_, which will be used for the DRM part of the driver. This is being done in order to make it very clear as to what part of the driver a given symbol belongs to, and as a minor step towards splitting the DRM driver out to be able to stand on its own (for virt). Because there's already a large amount of churn here anyway, this is as good a time as any to also switch to NVIDIA's device and chipset naming to ease collaboration with them. A comparison of objdump disassemblies proves no code changes. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
19 lines
281 B
C
19 lines
281 B
C
#ifndef __NV04_MMU_PRIV__
|
|
#define __NV04_MMU_PRIV__
|
|
|
|
#include <subdev/mmu.h>
|
|
|
|
struct nv04_mmu_priv {
|
|
struct nvkm_mmu base;
|
|
struct nvkm_vm *vm;
|
|
dma_addr_t null;
|
|
void *nullp;
|
|
};
|
|
|
|
static inline struct nv04_mmu_priv *
|
|
nv04_mmu(void *obj)
|
|
{
|
|
return (void *)nvkm_mmu(obj);
|
|
}
|
|
|
|
#endif
|