diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-05-22 17:34:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-30 14:04:10 -0400 |
commit | b817e9e207cca88698d28b6b4ab410f03d715171 (patch) | |
tree | 76e794e46a3276ab22776735a4d6c0f5f96b4165 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | c3192b5acc03bf4e65aa1cbefb3a9ea88d87d9bd (diff) |
gpu: nvgpu: add fifo ops get_mmu_fault_info
This is needed to take care of gp10b h/w header
changes. gp10b changes as compared to legacy gpu chips
-fault_info_fault_type field width is changed
-fault_info_write field is removed
-fault_info_access_type field is added
-fault_info_engine_subid is removed
-fault_info_client_type is added
-fault_info_client field width has changed
JIRA GPUT19X-7
JIRA GPUT19X-12
Change-Id: Iebf28cc6c851830524049b67a71cd72fb4a28948
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1487319
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 1dff07fa..10417084 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -439,6 +439,8 @@ struct gpu_ops { | |||
439 | bool wait_for_finish); | 439 | bool wait_for_finish); |
440 | void (*trigger_mmu_fault)(struct gk20a *g, | 440 | void (*trigger_mmu_fault)(struct gk20a *g, |
441 | unsigned long engine_ids); | 441 | unsigned long engine_ids); |
442 | void (*get_mmu_fault_info)(struct gk20a *g, u32 mmu_fault_id, | ||
443 | struct mmu_fault_info *mmfault); | ||
442 | void (*apply_pb_timeout)(struct gk20a *g); | 444 | void (*apply_pb_timeout)(struct gk20a *g); |
443 | int (*wait_engine_idle)(struct gk20a *g); | 445 | int (*wait_engine_idle)(struct gk20a *g); |
444 | u32 (*get_num_fifos)(struct gk20a *g); | 446 | u32 (*get_num_fifos)(struct gk20a *g); |