From 2a0d69b7d2024ffe8e593bc5bce35f59a1171ad2 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 29 Apr 2014 15:00:57 +0530 Subject: gpu: nvgpu: gk20a: add fecs intr h/w headers add below hardware headers for fecs error interrupt : gr_fecs_intr_r() gr_intr_fecs_error_reset_f() gr_intr_fecs_error_pending_f() Bug 1495957 Change-Id: I0c1d606ae766f1e6badbbaa1288bb08a37bff842 Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/402873 (cherry picked from commit 00ce5e538dc6669bfaeb9f81b8506b3ae8472faf) Reviewed-on: http://git-master/r/403586 (cherry picked from commit 2476df761199187ac53ba668603cf1917d455626) Reviewed-on: http://git-master/r/411159 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam --- drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index 4e7ada14..a28a1d0d 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h @@ -106,6 +106,14 @@ static inline u32 gr_intr_illegal_class_reset_f(void) { return 0x20; } +static inline u32 gr_intr_fecs_error_pending_f(void) +{ + return 0x80000; +} +static inline u32 gr_intr_fecs_error_reset_f(void) +{ + return 0x80000; +} static inline u32 gr_intr_class_error_pending_f(void) { return 0x100000; @@ -130,6 +138,10 @@ static inline u32 gr_intr_firmware_method_reset_f(void) { return 0x100; } +static inline u32 gr_fecs_intr_r(void) +{ + return 0x00400144; +} static inline u32 gr_intr_nonstall_r(void) { return 0x00400120; -- cgit v1.2.2