diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-01-29 15:46:59 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:01:35 -0400 |
commit | 2503a45f46fb3f56786769cb8e930085bf1359ec (patch) | |
tree | 5af79ffdf7805c41fad9092d8b0eaa2d0daa5078 /drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |
parent | 95548fa880f3a31d900cfb9c4b2e30e7dfacadac (diff) |
gpu: nvgpu: Catch DS exception
Catch DS exception and write an error to UART.
Change-Id: Iaad9813c48191f0d3d734d4af264b976a3818672
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/679142
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index 8a6c2f23..2d63147a 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -182,6 +182,10 @@ static inline u32 gr_exception_memfmt_m(void) | |||
182 | { | 182 | { |
183 | return 0x1 << 1; | 183 | return 0x1 << 1; |
184 | } | 184 | } |
185 | static inline u32 gr_exception_ds_m(void) | ||
186 | { | ||
187 | return 0x1 << 4; | ||
188 | } | ||
185 | static inline u32 gr_exception1_r(void) | 189 | static inline u32 gr_exception1_r(void) |
186 | { | 190 | { |
187 | return 0x00400118; | 191 | return 0x00400118; |