diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-06-12 13:45:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-13 12:14:03 -0400 |
commit | 64050935e931df0650a82c9f28bc9a3a331f4152 (patch) | |
tree | c4e844f125db448f0b8918c8ddb92b670dd497f7 /drivers/gpu/nvgpu/include | |
parent | e9267bb3e5624825114fedc03d511035785f2fd7 (diff) |
gpu: nvgpu: add sked exception detection and handling
Needed to detect and clear sked exception
Bug 200315442
Change-Id: Ia85e8827e563addf7b9d0f95ef192379bb808638
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1500860
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
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/gk20a/hw_gr_gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h index 455eef90..983f1cfe 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h | |||
@@ -186,6 +186,10 @@ static inline u32 gr_exception_ds_m(void) | |||
186 | { | 186 | { |
187 | return 0x1 << 4; | 187 | return 0x1 << 4; |
188 | } | 188 | } |
189 | static inline u32 gr_exception_sked_m(void) | ||
190 | { | ||
191 | return 0x1 << 8; | ||
192 | } | ||
189 | static inline u32 gr_exception1_r(void) | 193 | static inline u32 gr_exception1_r(void) |
190 | { | 194 | { |
191 | return 0x00400118; | 195 | return 0x00400118; |