diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-03-17 19:21:55 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-23 20:18:58 -0400 |
commit | fb71b882750332fde543550adffe3f70f1d47d47 (patch) | |
tree | 6f2d2672443ff13c41a045cc3728c9e0ce5bca3f /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |
parent | a8efce77f5fab497b477d1f5fd461cded528bc0b (diff) |
gpu: nvgpu: *ERROR_MMU_ERR_FLT* not set for fake mmu faults
For fake faults, errror notifiers are expected to be set
before triggering fake mmu fault.
JIRA GPUT19X-7
Change-Id: I458af8d95c5960f20693b6923e1990fe3aa59857
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1323413
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 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index eab57ba3..ae728a36 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -270,11 +270,13 @@ u32 gk20a_fifo_engine_interrupt_mask(struct gk20a *g); | |||
270 | u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g); | 270 | u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g); |
271 | u32 gk20a_fifo_get_failing_engine_data(struct gk20a *g, | 271 | u32 gk20a_fifo_get_failing_engine_data(struct gk20a *g, |
272 | int *__id, bool *__is_tsg); | 272 | int *__id, bool *__is_tsg); |
273 | bool gk20a_fifo_set_ctx_mmu_error_tsg(struct gk20a *g, | 273 | void gk20a_fifo_set_ctx_mmu_error_tsg(struct gk20a *g, |
274 | struct tsg_gk20a *tsg); | 274 | struct tsg_gk20a *tsg); |
275 | void gk20a_fifo_abort_tsg(struct gk20a *g, u32 tsgid, bool preempt); | 275 | void gk20a_fifo_abort_tsg(struct gk20a *g, u32 tsgid, bool preempt); |
276 | bool gk20a_fifo_set_ctx_mmu_error_ch(struct gk20a *g, | 276 | void gk20a_fifo_set_ctx_mmu_error_ch(struct gk20a *g, |
277 | struct channel_gk20a *ch); | 277 | struct channel_gk20a *refch); |
278 | bool gk20a_fifo_error_tsg(struct gk20a *g, struct tsg_gk20a *tsg); | ||
279 | bool gk20a_fifo_error_ch(struct gk20a *g, struct channel_gk20a *refch); | ||
278 | 280 | ||
279 | struct channel_gk20a *gk20a_fifo_channel_from_hw_chid(struct gk20a *g, | 281 | struct channel_gk20a *gk20a_fifo_channel_from_hw_chid(struct gk20a *g, |
280 | u32 hw_chid); | 282 | u32 hw_chid); |