From 2503a45f46fb3f56786769cb8e930085bf1359ec Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 29 Jan 2015 12:46:59 -0800 Subject: gpu: nvgpu: Catch DS exception Catch DS exception and write an error to UART. Change-Id: Iaad9813c48191f0d3d734d4af264b976a3818672 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/679142 --- drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h') 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) { return 0x1 << 1; } +static inline u32 gr_exception_ds_m(void) +{ + return 0x1 << 4; +} static inline u32 gr_exception1_r(void) { return 0x00400118; -- cgit v1.2.2