diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ltc_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ltc_gk20a.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ltc_gk20a.h b/drivers/gpu/nvgpu/gk20a/ltc_gk20a.h index 30d4163f..ee7d7f91 100644 --- a/drivers/gpu/nvgpu/gk20a/ltc_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/ltc_gk20a.h | |||
@@ -16,8 +16,26 @@ | |||
16 | #ifndef LTC_GK20A_H | 16 | #ifndef LTC_GK20A_H |
17 | #define LTC_GK20A_H | 17 | #define LTC_GK20A_H |
18 | struct gpu_ops; | 18 | struct gpu_ops; |
19 | struct gr_gk20a; | ||
20 | struct zbc_entry; | ||
21 | enum gk20a_cbc_op; | ||
19 | 22 | ||
20 | void gk20a_init_ltc(struct gpu_ops *gops); | 23 | int gk20a_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr); |
24 | int gk20a_ltc_cbc_ctrl(struct gk20a *g, enum gk20a_cbc_op op, | ||
25 | u32 min, u32 max); | ||
26 | void gk20a_ltc_init_fs_state(struct gk20a *g); | ||
27 | void gk20a_ltc_isr(struct gk20a *g); | ||
28 | int gk20a_determine_L2_size_bytes(struct gk20a *g); | ||
29 | void gk20a_ltc_set_zbc_color_entry(struct gk20a *g, | ||
30 | struct zbc_entry *color_val, | ||
31 | u32 index); | ||
32 | void gk20a_ltc_set_zbc_depth_entry(struct gk20a *g, | ||
33 | struct zbc_entry *depth_val, | ||
34 | u32 index); | ||
35 | void gk20a_ltc_init_cbc(struct gk20a *g, struct gr_gk20a *gr); | ||
36 | #ifdef CONFIG_DEBUG_FS | ||
37 | void gk20a_ltc_sync_debugfs(struct gk20a *g); | ||
38 | #endif | ||
21 | int gk20a_ltc_alloc_phys_cbc(struct gk20a *g, size_t compbit_backing_size); | 39 | int gk20a_ltc_alloc_phys_cbc(struct gk20a *g, size_t compbit_backing_size); |
22 | int gk20a_ltc_alloc_virt_cbc(struct gk20a *g, size_t compbit_backing_size); | 40 | int gk20a_ltc_alloc_virt_cbc(struct gk20a *g, size_t compbit_backing_size); |
23 | #endif | 41 | #endif |