2015-01-14 05:24:57 +00:00
|
|
|
#ifndef __NVKM_DISP_H__
|
|
|
|
#define __NVKM_DISP_H__
|
2015-08-20 04:54:19 +00:00
|
|
|
#define nvkm_disp(p) container_of((p), struct nvkm_disp, engine)
|
2012-07-19 22:17:34 +00:00
|
|
|
#include <core/engine.h>
|
2013-01-30 23:23:34 +00:00
|
|
|
#include <core/event.h>
|
2012-07-19 22:17:34 +00:00
|
|
|
|
2015-01-14 05:24:57 +00:00
|
|
|
struct nvkm_disp {
|
2015-08-20 04:54:19 +00:00
|
|
|
const struct nvkm_disp_func *func;
|
2015-08-20 04:54:22 +00:00
|
|
|
struct nvkm_engine engine;
|
2015-08-20 04:54:19 +00:00
|
|
|
|
|
|
|
struct nvkm_oproxy *client;
|
2014-05-16 04:36:15 +00:00
|
|
|
|
|
|
|
struct list_head outp;
|
2015-08-20 04:54:15 +00:00
|
|
|
struct list_head conn;
|
2014-05-16 04:36:15 +00:00
|
|
|
|
2014-08-09 18:10:20 +00:00
|
|
|
struct nvkm_event hpd;
|
|
|
|
struct nvkm_event vblank;
|
2012-07-19 22:17:34 +00:00
|
|
|
|
2015-08-20 04:54:22 +00:00
|
|
|
struct {
|
|
|
|
int nr;
|
|
|
|
} head;
|
2015-08-20 04:54:19 +00:00
|
|
|
};
|
|
|
|
|
2015-08-20 04:54:22 +00:00
|
|
|
int nv04_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int nv50_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int g84_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int gt200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int g94_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int gt215_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int gf119_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int gk104_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int gk110_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
|
|
|
int gm107_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2016-02-10 22:35:32 +00:00
|
|
|
int gm200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2016-07-09 00:41:01 +00:00
|
|
|
int gp100_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2016-11-16 05:03:07 +00:00
|
|
|
int gp102_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2012-07-19 22:17:34 +00:00
|
|
|
#endif
|