| .. | .. |
|---|
| 1 | | -/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | +/* SPDX-License-Identifier: MIT */ |
|---|
| 2 | 2 | #ifndef __NV50_DISP_H__ |
|---|
| 3 | 3 | #define __NV50_DISP_H__ |
|---|
| 4 | 4 | #define nv50_disp(p) container_of((p), struct nv50_disp, base) |
|---|
| 5 | 5 | #include "priv.h" |
|---|
| 6 | 6 | struct nvkm_head; |
|---|
| 7 | + |
|---|
| 8 | +#include <core/enum.h> |
|---|
| 7 | 9 | |
|---|
| 8 | 10 | struct nv50_disp { |
|---|
| 9 | 11 | const struct nv50_disp_func *func; |
|---|
| .. | .. |
|---|
| 71 | 73 | void nv50_disp_fini(struct nv50_disp *); |
|---|
| 72 | 74 | void nv50_disp_intr(struct nv50_disp *); |
|---|
| 73 | 75 | void nv50_disp_super(struct work_struct *); |
|---|
| 76 | +extern const struct nvkm_enum nv50_disp_intr_error_type[]; |
|---|
| 74 | 77 | |
|---|
| 75 | 78 | int gf119_disp_init(struct nv50_disp *); |
|---|
| 76 | 79 | void gf119_disp_fini(struct nv50_disp *); |
|---|
| .. | .. |
|---|
| 78 | 81 | void gf119_disp_super(struct work_struct *); |
|---|
| 79 | 82 | void gf119_disp_intr_error(struct nv50_disp *, int); |
|---|
| 80 | 83 | |
|---|
| 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 | + |
|---|
| 81 | 89 | void nv50_disp_dptmds_war_2(struct nv50_disp *, struct dcb_output *); |
|---|
| 82 | 90 | void nv50_disp_dptmds_war_3(struct nv50_disp *, struct dcb_output *); |
|---|
| 83 | 91 | void nv50_disp_update_sppll1(struct nv50_disp *); |
|---|