summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h6
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,
636void gr_gk20a_pmu_save_zbc(struct gk20a *g, u32 entries); 636void gr_gk20a_pmu_save_zbc(struct gk20a *g, u32 entries);
637int gr_gk20a_wait_idle(struct gk20a *g, unsigned long duration_ms, 637int gr_gk20a_wait_idle(struct gk20a *g, unsigned long duration_ms,
638 u32 expect_delay); 638 u32 expect_delay);
639int gr_gk20a_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc, 639int 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);
642int gr_gk20a_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc, 642int 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,
730void gr_gk20a_write_pm_ptr(struct gk20a *g, 730void 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
733u32 gk20a_gr_gpc_offset(struct gk20a *g, u32 gpc);
734u32 gk20a_gr_tpc_offset(struct gk20a *g, u32 tpc);
735void gk20a_gr_get_esr_sm_sel(struct gk20a *g, u32 gpc, u32 tpc,
736 u32 *esr_sm_sel);
733 737
734static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode) 738static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode)
735{ 739{