.. | .. |
---|
1 | | -/* SPDX-License-Identifier: GPL-2.0 */ |
---|
| 1 | +/* SPDX-License-Identifier: MIT */ |
---|
2 | 2 | #ifndef __NVKM_FB_PRIV_H__ |
---|
3 | 3 | #define __NVKM_FB_PRIV_H__ |
---|
4 | 4 | #define nvkm_fb(p) container_of((p), struct nvkm_fb, subdev) |
---|
.. | .. |
---|
15 | 15 | int (*init_page)(struct nvkm_fb *); |
---|
16 | 16 | void (*init_unkn)(struct nvkm_fb *); |
---|
17 | 17 | void (*intr)(struct nvkm_fb *); |
---|
| 18 | + |
---|
| 19 | + struct { |
---|
| 20 | + bool (*scrub_required)(struct nvkm_fb *); |
---|
| 21 | + int (*scrub)(struct nvkm_fb *); |
---|
| 22 | + } vpr; |
---|
18 | 23 | |
---|
19 | 24 | struct { |
---|
20 | 25 | int regions; |
---|
.. | .. |
---|
72 | 77 | |
---|
73 | 78 | void gp100_fb_init_remapper(struct nvkm_fb *); |
---|
74 | 79 | void gp100_fb_init_unkn(struct nvkm_fb *); |
---|
| 80 | + |
---|
| 81 | +int gp102_fb_new_(const struct nvkm_fb_func *, struct nvkm_device *, int, |
---|
| 82 | + struct nvkm_fb **); |
---|
| 83 | +bool gp102_fb_vpr_scrub_required(struct nvkm_fb *); |
---|
| 84 | +int gp102_fb_vpr_scrub(struct nvkm_fb *); |
---|
75 | 85 | #endif |
---|