diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fb_gv11b.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.h b/drivers/gpu/nvgpu/gv11b/fb_gv11b.h index eff3c25d..d8f5e145 100644 --- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.h | |||
@@ -40,9 +40,19 @@ struct gpu_ops; | |||
40 | HUB_INTR_TYPE_ECC_UNCORRECTED | \ | 40 | HUB_INTR_TYPE_ECC_UNCORRECTED | \ |
41 | HUB_INTR_TYPE_ACCESS_COUNTER) | 41 | HUB_INTR_TYPE_ACCESS_COUNTER) |
42 | 42 | ||
43 | #define FAULT_TYPE_OTHER_AND_NONREPLAY 0 | ||
44 | #define FAULT_TYPE_REPLAY 1 | ||
45 | |||
46 | void gv11b_init_fb(struct gpu_ops *gops); | ||
47 | u32 gv11b_fb_is_fault_buf_enabled(struct gk20a *g, | ||
48 | unsigned int index); | ||
49 | void gv11b_fb_fault_buf_set_state_hw(struct gk20a *g, | ||
50 | unsigned int index, unsigned int state); | ||
51 | void gv11b_fb_nonreplay_fault_buf_configure_hw(struct gk20a *g); | ||
43 | void gv11b_fb_enable_hub_intr(struct gk20a *g, | 52 | void gv11b_fb_enable_hub_intr(struct gk20a *g, |
44 | unsigned int index, unsigned int intr_type); | 53 | unsigned int index, unsigned int intr_type); |
45 | void gv11b_fb_disable_hub_intr(struct gk20a *g, | 54 | void gv11b_fb_disable_hub_intr(struct gk20a *g, |
46 | unsigned int index, unsigned int intr_type); | 55 | unsigned int index, unsigned int intr_type); |
47 | void gv11b_init_fb(struct gpu_ops *gops); | 56 | void gv11b_fb_fault_buf_configure_hw(struct gk20a *g, unsigned int index); |
57 | bool gv11b_fb_mmu_fault_pending(struct gk20a *g); | ||
48 | #endif | 58 | #endif |