diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-03-16 16:22:26 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-04 19:04:26 -0400 |
commit | 0778d7f33181e4f945083e8e051d5f9476fe5968 (patch) | |
tree | 5e181d064505776dc5f19205d83f0351214a501d /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 06fe28567d45c8fb1c2a04f0f007fa5d750b849d (diff) |
gpu: nvgpu: add teardown_ch_tsg fifo ops
teardown_ch_tsg fifo ops added as t19x s/w recovery procedure
is different than legacy chips.
JIRA GPUT19X-7
Change-Id: I5b88f2c1a19d309e5c97c588ddf9689163a75fea
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1327932
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 3bca7aad..795c9259 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -341,6 +341,29 @@ void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); | |||
341 | void gk20a_mm_cbc_clean(struct gk20a *g); | 341 | void gk20a_mm_cbc_clean(struct gk20a *g); |
342 | void gk20a_mm_l2_invalidate(struct gk20a *g); | 342 | void gk20a_mm_l2_invalidate(struct gk20a *g); |
343 | 343 | ||
344 | struct mmu_fault_info { | ||
345 | u64 inst_ptr; | ||
346 | u32 inst_aperture; | ||
347 | u64 fault_addr; | ||
348 | u32 fault_addr_aperture; | ||
349 | u32 timestamp_lo; | ||
350 | u32 timestamp_hi; | ||
351 | u32 mmu_engine_id; | ||
352 | u32 gpc_id; | ||
353 | u32 client_type; | ||
354 | u32 client_id; | ||
355 | u32 fault_type; | ||
356 | u32 access_type; | ||
357 | u32 protected_mode; | ||
358 | u32 replayable_fault; | ||
359 | u32 replay_fault_en; | ||
360 | u32 valid; | ||
361 | u32 faulted_pbdma; | ||
362 | u32 faulted_engine; | ||
363 | u32 hw_chid; | ||
364 | struct channel_gk20a *refch; | ||
365 | }; | ||
366 | |||
344 | struct mm_gk20a { | 367 | struct mm_gk20a { |
345 | struct gk20a *g; | 368 | struct gk20a *g; |
346 | 369 | ||