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>
32 lines
843 B
C
32 lines
843 B
C
#ifndef __NVKM_DISP_H__
|
|
#define __NVKM_DISP_H__
|
|
#include <core/engine.h>
|
|
#include <core/event.h>
|
|
|
|
struct nvkm_disp {
|
|
struct nvkm_engine base;
|
|
|
|
struct list_head outp;
|
|
|
|
struct nvkm_event hpd;
|
|
struct nvkm_event vblank;
|
|
};
|
|
|
|
static inline struct nvkm_disp *
|
|
nvkm_disp(void *obj)
|
|
{
|
|
return (void *)nvkm_engine(obj, NVDEV_ENGINE_DISP);
|
|
}
|
|
|
|
extern struct nvkm_oclass *nv04_disp_oclass;
|
|
extern struct nvkm_oclass *nv50_disp_oclass;
|
|
extern struct nvkm_oclass *g84_disp_oclass;
|
|
extern struct nvkm_oclass *gt200_disp_oclass;
|
|
extern struct nvkm_oclass *g94_disp_oclass;
|
|
extern struct nvkm_oclass *gt215_disp_oclass;
|
|
extern struct nvkm_oclass *gf110_disp_oclass;
|
|
extern struct nvkm_oclass *gk104_disp_oclass;
|
|
extern struct nvkm_oclass *gk110_disp_oclass;
|
|
extern struct nvkm_oclass *gm107_disp_oclass;
|
|
extern struct nvkm_oclass *gm204_disp_oclass;
|
|
#endif
|