diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-06-28 13:05:04 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-02 13:20:07 -0400 |
commit | f525ff15c4e8b5994201585ad584237b62bf3083 (patch) | |
tree | 9f9679c03dbd20e5efd2f603eedcdf563bf3dd87 /drivers/gpu/nvgpu/include | |
parent | c865b16337bf37959f6b7e8ff1970d8c3d3a927e (diff) |
gpu: nvgpu: gv11b: add ce interrupt handling
Added handling for below ce interrupts
-INVALID_CONFIG interrupt will be generated if a floorswept
PCE is assigned to a valid LCE in the NV_CE_PCE2LCE_CONFIG
registers. This is a fatal error and the LCE will have to be
reset to get back to a working state.
-MTHD_BUFFER_FAULT interrupt will be triggered if any access to
a method buffer during context load or save encounters a fault.
This is a fatal interrupt and will require at least the LCE to be reset
before operations can start again, if not the entire GPU.
JIRA GPUT19X-12
JIRA GPUT19X-46
Change-Id: I2eeefc4e634f5bf53f20933c493c7594fe0ea755
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master/r/1510298
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h index 9f279207..fbf10b82 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h | |||
@@ -78,4 +78,24 @@ static inline u32 ce_intr_status_launcherr_reset_f(void) | |||
78 | { | 78 | { |
79 | return 0x4; | 79 | return 0x4; |
80 | } | 80 | } |
81 | static inline u32 ce_intr_status_invalid_config_pending_f(void) | ||
82 | { | ||
83 | return 0x8; | ||
84 | } | ||
85 | static inline u32 ce_intr_status_invalid_config_reset_f(void) | ||
86 | { | ||
87 | return 0x8; | ||
88 | } | ||
89 | static inline u32 ce_intr_status_mthd_buffer_fault_pending_f(void) | ||
90 | { | ||
91 | return 0x10; | ||
92 | } | ||
93 | static inline u32 ce_intr_status_mthd_buffer_fault_reset_f(void) | ||
94 | { | ||
95 | return 0x10; | ||
96 | } | ||
97 | static inline u32 ce_pce_map_r(void) | ||
98 | { | ||
99 | return 0x00104028; | ||
100 | } | ||
81 | #endif | 101 | #endif |