]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / include / nvkm / engine / disp.h
CommitLineData
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 8struct 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
23int nv04_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
24int nv50_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
25int g84_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
26int gt200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
27int g94_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
b3c9c022 28int mcp77_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
70aa8670 29int gt215_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
b3c9c022 30int mcp89_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
70aa8670
BS
31int gf119_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
32int gk104_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
33int gk110_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
34int gm107_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
db1eb528 35int gm200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
f9d5cbb3 36int gp100_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
ed828666 37int gp102_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
ebb945a9 38#endif