2019-06-19 20:13:43 -04:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
2015-01-14 15:24:57 +10:00
|
|
|
#ifndef __NVKM_DISP_H__
|
|
|
|
#define __NVKM_DISP_H__
|
2015-08-20 14:54:19 +10:00
|
|
|
#define nvkm_disp(p) container_of((p), struct nvkm_disp, engine)
|
2012-07-20 08:17:34 +10:00
|
|
|
#include <core/engine.h>
|
2013-01-31 09:23:34 +10:00
|
|
|
#include <core/event.h>
|
2012-07-20 08:17:34 +10:00
|
|
|
|
2015-01-14 15:24:57 +10:00
|
|
|
struct nvkm_disp {
|
2015-08-20 14:54:19 +10:00
|
|
|
const struct nvkm_disp_func *func;
|
2015-08-20 14:54:22 +10:00
|
|
|
struct nvkm_engine engine;
|
2015-08-20 14:54:19 +10:00
|
|
|
|
2017-05-19 23:59:34 +10:00
|
|
|
struct list_head head;
|
2017-05-19 23:59:35 +10:00
|
|
|
struct list_head ior;
|
2014-05-16 14:36:15 +10:00
|
|
|
struct list_head outp;
|
2015-08-20 14:54:15 +10:00
|
|
|
struct list_head conn;
|
2014-05-16 14:36:15 +10:00
|
|
|
|
2014-08-10 04:10:20 +10:00
|
|
|
struct nvkm_event hpd;
|
|
|
|
struct nvkm_event vblank;
|
2012-07-20 08:17:34 +10:00
|
|
|
|
2017-05-19 23:59:34 +10:00
|
|
|
struct nvkm_oproxy *client;
|
2015-08-20 14:54:19 +10:00
|
|
|
};
|
|
|
|
|
2015-08-20 14:54:22 +10: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 **);
|
2017-05-19 23:59:35 +10:00
|
|
|
int mcp77_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2015-08-20 14:54:22 +10:00
|
|
|
int gt215_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2017-05-19 23:59:35 +10:00
|
|
|
int mcp89_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2015-08-20 14:54:22 +10:00
|
|
|
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-11 08:35:32 +10:00
|
|
|
int gm200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2016-07-09 10:41:01 +10:00
|
|
|
int gp100_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2016-11-16 15:03:07 +10:00
|
|
|
int gp102_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2018-05-08 20:39:47 +10:00
|
|
|
int gv100_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2019-01-17 12:10:06 +10:00
|
|
|
int tu102_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
|
2012-07-20 08:17:34 +10:00
|
|
|
#endif
|