diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-03-01 18:24:17 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-20 19:39:49 -0400 |
commit | 50f371f891c889c782187036c31132fa94c573ac (patch) | |
tree | bb4be977c782d5a3c2db1e39c0690117871b43dd /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |
parent | 38d90b60922e6de6b795694d3e3cdf66d4ddae5f (diff) |
gpu: nvgpu: add fifo ops for intr_0_error_mask
This change is required to support t19x mmu fault
Change-Id: I3953dcf02c71ace606ba81896e56ea98683eb2ca
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1313482
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index 30d0caba..2de5e2d6 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -313,6 +313,7 @@ void gk20a_get_ch_runlist_entry(struct channel_gk20a *ch, u32 *runlist); | |||
313 | 313 | ||
314 | u32 gk20a_userd_gp_get(struct gk20a *g, struct channel_gk20a *c); | 314 | u32 gk20a_userd_gp_get(struct gk20a *g, struct channel_gk20a *c); |
315 | void gk20a_userd_gp_put(struct gk20a *g, struct channel_gk20a *c); | 315 | void gk20a_userd_gp_put(struct gk20a *g, struct channel_gk20a *c); |
316 | |||
316 | bool gk20a_is_fault_engine_subid_gpc(struct gk20a *g, u32 engine_subid); | 317 | bool gk20a_is_fault_engine_subid_gpc(struct gk20a *g, u32 engine_subid); |
317 | #ifdef CONFIG_DEBUG_FS | 318 | #ifdef CONFIG_DEBUG_FS |
318 | struct fifo_profile_gk20a *gk20a_fifo_profile_acquire(struct gk20a *g); | 319 | struct fifo_profile_gk20a *gk20a_fifo_profile_acquire(struct gk20a *g); |
@@ -333,4 +334,6 @@ const char *gk20a_decode_pbdma_chan_eng_ctx_status(u32 index); | |||
333 | 334 | ||
334 | struct channel_gk20a *gk20a_refch_from_inst_ptr(struct gk20a *g, u64 inst_ptr); | 335 | struct channel_gk20a *gk20a_refch_from_inst_ptr(struct gk20a *g, u64 inst_ptr); |
335 | 336 | ||
337 | u32 gk20a_fifo_intr_0_error_mask(struct gk20a *g); | ||
338 | |||
336 | #endif /*__GR_GK20A_H__*/ | 339 | #endif /*__GR_GK20A_H__*/ |