diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-04-29 05:30:57 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:22 -0400 |
commit | 2a0d69b7d2024ffe8e593bc5bce35f59a1171ad2 (patch) | |
tree | 04227fe03bf2fc3fad149941f58b858094e228ee | |
parent | 09f1bebcd53207da3a27b8824aa21e99bbf1cfbe (diff) |
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 <dnibade@nvidia.com>
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 <snikam@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 12 |
1 files changed, 12 insertions, 0 deletions
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) | |||
106 | { | 106 | { |
107 | return 0x20; | 107 | return 0x20; |
108 | } | 108 | } |
109 | static inline u32 gr_intr_fecs_error_pending_f(void) | ||
110 | { | ||
111 | return 0x80000; | ||
112 | } | ||
113 | static inline u32 gr_intr_fecs_error_reset_f(void) | ||
114 | { | ||
115 | return 0x80000; | ||
116 | } | ||
109 | static inline u32 gr_intr_class_error_pending_f(void) | 117 | static inline u32 gr_intr_class_error_pending_f(void) |
110 | { | 118 | { |
111 | return 0x100000; | 119 | return 0x100000; |
@@ -130,6 +138,10 @@ static inline u32 gr_intr_firmware_method_reset_f(void) | |||
130 | { | 138 | { |
131 | return 0x100; | 139 | return 0x100; |
132 | } | 140 | } |
141 | static inline u32 gr_fecs_intr_r(void) | ||
142 | { | ||
143 | return 0x00400144; | ||
144 | } | ||
133 | static inline u32 gr_intr_nonstall_r(void) | 145 | static inline u32 gr_intr_nonstall_r(void) |
134 | { | 146 | { |
135 | return 0x00400120; | 147 | return 0x00400120; |