hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h
....@@ -1,9 +1,11 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NV50_DISP_H__
33 #define __NV50_DISP_H__
44 #define nv50_disp(p) container_of((p), struct nv50_disp, base)
55 #include "priv.h"
66 struct nvkm_head;
7
+
8
+#include <core/enum.h>
79
810 struct nv50_disp {
911 const struct nv50_disp_func *func;
....@@ -71,6 +73,7 @@
7173 void nv50_disp_fini(struct nv50_disp *);
7274 void nv50_disp_intr(struct nv50_disp *);
7375 void nv50_disp_super(struct work_struct *);
76
+extern const struct nvkm_enum nv50_disp_intr_error_type[];
7477
7578 int gf119_disp_init(struct nv50_disp *);
7679 void gf119_disp_fini(struct nv50_disp *);
....@@ -78,6 +81,11 @@
7881 void gf119_disp_super(struct work_struct *);
7982 void gf119_disp_intr_error(struct nv50_disp *, int);
8083
84
+void gv100_disp_fini(struct nv50_disp *);
85
+void gv100_disp_intr(struct nv50_disp *);
86
+void gv100_disp_super(struct work_struct *);
87
+int gv100_disp_wndw_cnt(struct nvkm_disp *, unsigned long *);
88
+
8189 void nv50_disp_dptmds_war_2(struct nv50_disp *, struct dcb_output *);
8290 void nv50_disp_dptmds_war_3(struct nv50_disp *, struct dcb_output *);
8391 void nv50_disp_update_sppll1(struct nv50_disp *);