diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index de80c5e3..745848ab 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -636,7 +636,7 @@ int _gk20a_gr_zbc_set_table(struct gk20a *g, struct gr_gk20a *gr, | |||
636 | void gr_gk20a_pmu_save_zbc(struct gk20a *g, u32 entries); | 636 | void gr_gk20a_pmu_save_zbc(struct gk20a *g, u32 entries); |
637 | int gr_gk20a_wait_idle(struct gk20a *g, unsigned long duration_ms, | 637 | int gr_gk20a_wait_idle(struct gk20a *g, unsigned long duration_ms, |
638 | u32 expect_delay); | 638 | u32 expect_delay); |
639 | int gr_gk20a_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc, | 639 | int gr_gk20a_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc, u32 sm, |
640 | bool *post_event, struct channel_gk20a *fault_ch, | 640 | bool *post_event, struct channel_gk20a *fault_ch, |
641 | u32 *hww_global_esr); | 641 | u32 *hww_global_esr); |
642 | int gr_gk20a_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc, | 642 | int gr_gk20a_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc, |
@@ -730,6 +730,10 @@ void gr_gk20a_write_zcull_ptr(struct gk20a *g, | |||
730 | void gr_gk20a_write_pm_ptr(struct gk20a *g, | 730 | void gr_gk20a_write_pm_ptr(struct gk20a *g, |
731 | struct nvgpu_mem *mem, u64 gpu_va); | 731 | struct nvgpu_mem *mem, u64 gpu_va); |
732 | 732 | ||
733 | u32 gk20a_gr_gpc_offset(struct gk20a *g, u32 gpc); | ||
734 | u32 gk20a_gr_tpc_offset(struct gk20a *g, u32 tpc); | ||
735 | void gk20a_gr_get_esr_sm_sel(struct gk20a *g, u32 gpc, u32 tpc, | ||
736 | u32 *esr_sm_sel); | ||
733 | 737 | ||
734 | static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode) | 738 | static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode) |
735 | { | 739 | { |