diff options
author | Vinod G <vinodg@nvidia.com> | 2018-04-27 12:33:07 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-04 02:57:12 -0400 |
commit | 010439ba08891ce97c53c239b5bb8c4a2f5b5f01 (patch) | |
tree | 0f7b6fdf83176183ddb9ee24e71e652a31528314 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 76597927e4059fd763949f633ef4f8f412e45f6b (diff) |
gpu: nvgpu: add HALs to mmu fault descriptors.
mmu fault information for client and gpc differ
on various chip. Add separate table for each chip
based on that change and add hal functions to access
those descriptors.
bug 2050564
Change-Id: If15a4757762569d60d4ce1a6a47b8c9a93c11cb0
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1704105
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e48af08c..2d47f41e 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -574,6 +574,10 @@ struct gpu_ops { | |||
574 | unsigned long engine_ids); | 574 | unsigned long engine_ids); |
575 | void (*get_mmu_fault_info)(struct gk20a *g, u32 mmu_fault_id, | 575 | void (*get_mmu_fault_info)(struct gk20a *g, u32 mmu_fault_id, |
576 | struct mmu_fault_info *mmfault); | 576 | struct mmu_fault_info *mmfault); |
577 | void (*get_mmu_fault_desc)(struct mmu_fault_info *mmfault); | ||
578 | void (*get_mmu_fault_client_desc)( | ||
579 | struct mmu_fault_info *mmfault); | ||
580 | void (*get_mmu_fault_gpc_desc)(struct mmu_fault_info *mmfault); | ||
577 | void (*apply_pb_timeout)(struct gk20a *g); | 581 | void (*apply_pb_timeout)(struct gk20a *g); |
578 | void (*apply_ctxsw_timeout_intr)(struct gk20a *g); | 582 | void (*apply_ctxsw_timeout_intr)(struct gk20a *g); |
579 | int (*wait_engine_idle)(struct gk20a *g); | 583 | int (*wait_engine_idle)(struct gk20a *g); |