1 #ifndef __NVKM_DISP_PRIV_H__
2 #define __NVKM_DISP_PRIV_H__
3 #include <engine/disp.h>
4 #include "outp.h"
5 
6 int nvkm_disp_ctor(const struct nvkm_disp_func *, struct nvkm_device *,
7 		   int index, struct nvkm_disp *);
8 int nvkm_disp_new_(const struct nvkm_disp_func *, struct nvkm_device *,
9 		   int index, struct nvkm_disp **);
10 void nvkm_disp_vblank(struct nvkm_disp *, int head);
11 
12 struct nvkm_disp_func {
13 	void *(*dtor)(struct nvkm_disp *);
14 	void (*intr)(struct nvkm_disp *);
15 
16 	const struct nvkm_disp_oclass *(*root)(struct nvkm_disp *);
17 };
18 
19 int  nvkm_disp_ntfy(struct nvkm_object *, u32, struct nvkm_event **);
20 
21 extern const struct nvkm_disp_oclass nv04_disp_root_oclass;
22 
23 struct nvkm_disp_oclass {
24 	int (*ctor)(struct nvkm_disp *, const struct nvkm_oclass *,
25 		    void *data, u32 size, struct nvkm_object **);
26 	struct nvkm_sclass base;
27 };
28 #endif
29