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>
26 lines
582 B
C
26 lines
582 B
C
#ifndef __NV20_GR_H__
|
|
#define __NV20_GR_H__
|
|
#include <engine/gr.h>
|
|
|
|
struct nv20_gr_priv {
|
|
struct nvkm_gr base;
|
|
struct nvkm_gpuobj *ctxtab;
|
|
};
|
|
|
|
struct nv20_gr_chan {
|
|
struct nvkm_gr_chan base;
|
|
int chid;
|
|
};
|
|
|
|
extern struct nvkm_oclass nv25_gr_sclass[];
|
|
int nv20_gr_context_init(struct nvkm_object *);
|
|
int nv20_gr_context_fini(struct nvkm_object *, bool);
|
|
|
|
void nv20_gr_tile_prog(struct nvkm_engine *, int);
|
|
void nv20_gr_intr(struct nvkm_subdev *);
|
|
|
|
void nv20_gr_dtor(struct nvkm_object *);
|
|
int nv20_gr_init(struct nvkm_object *);
|
|
|
|
int nv30_gr_init(struct nvkm_object *);
|
|
#endif
|