]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
878da15a BS |
2 | #ifndef __NVKM_DISP_H__ |
3 | #define __NVKM_DISP_H__ | |
0ce41e3c | 4 | #define nvkm_disp(p) container_of((p), struct nvkm_disp, engine) |
ebb945a9 | 5 | #include <core/engine.h> |
1d7c71a3 | 6 | #include <core/event.h> |
ebb945a9 | 7 | |
878da15a | 8 | struct nvkm_disp { |
0ce41e3c | 9 | const struct nvkm_disp_func *func; |
70aa8670 | 10 | struct nvkm_engine engine; |
0ce41e3c | 11 | |
a1c93078 | 12 | struct list_head head; |
78f1ad6f | 13 | struct list_head ior; |
7a014a87 | 14 | struct list_head outp; |
f2c906fc | 15 | struct list_head conn; |
7a014a87 | 16 | |
79ca2770 BS |
17 | struct nvkm_event hpd; |
18 | struct nvkm_event vblank; | |
ebb945a9 | 19 | |
4b2b42f8 | 20 | struct nvkm_oproxy *client; |
0ce41e3c BS |
21 | }; |
22 | ||
70aa8670 BS |
23 | int nv04_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
24 | int nv50_disp_new(struct nvkm_device *, int, struct nvkm_disp **); | |
25 | int g84_disp_new(struct nvkm_device *, int, struct nvkm_disp **); | |
26 | int gt200_disp_new(struct nvkm_device *, int, struct nvkm_disp **); | |
27 | int g94_disp_new(struct nvkm_device *, int, struct nvkm_disp **); | |
b3c9c022 | 28 | int mcp77_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
70aa8670 | 29 | int gt215_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
b3c9c022 | 30 | int mcp89_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
70aa8670 BS |
31 | int gf119_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
32 | int gk104_disp_new(struct nvkm_device *, int, struct nvkm_disp **); | |
33 | int gk110_disp_new(struct nvkm_device *, int, struct nvkm_disp **); | |
34 | int gm107_disp_new(struct nvkm_device *, int, struct nvkm_disp **); | |
db1eb528 | 35 | int gm200_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
f9d5cbb3 | 36 | int gp100_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
ed828666 | 37 | int gp102_disp_new(struct nvkm_device *, int, struct nvkm_disp **); |
ebb945a9 | 38 | #endif |