diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-08-01 09:15:54 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:44 -0400 |
commit | c8faa10d1dc9bb0c4c2815c38fb71d8acdd1108d (patch) | |
tree | 35c863226423d9c8506a149e487266c8e119f7e2 /drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |
parent | 0858498f7b615467af33c4268fd0c0ac7fe19788 (diff) |
gpu: nvgpu: Add support for FECS errors
Add retrieving error code for FECS errors.
Change-Id: I7d9dfc4723376272edb2e5b2ef06f71de1a06889
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/450351
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chris Dragan <kdragan@nvidia.com>
Tested-by: Chris Dragan <kdragan@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index b670d9aa..9f1fb32b 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -718,6 +718,22 @@ static inline u32 gr_fecs_method_push_adr_set_watchdog_timeout_f(void) | |||
718 | { | 718 | { |
719 | return 0x21; | 719 | return 0x21; |
720 | } | 720 | } |
721 | static inline u32 gr_fecs_host_int_status_r(void) | ||
722 | { | ||
723 | return 0x00409c18; | ||
724 | } | ||
725 | static inline u32 gr_fecs_host_int_status_umimp_firmware_method_f(u32 v) | ||
726 | { | ||
727 | return (v & 0x1) << 17; | ||
728 | } | ||
729 | static inline u32 gr_fecs_host_int_status_umimp_illegal_method_f(u32 v) | ||
730 | { | ||
731 | return (v & 0x1) << 18; | ||
732 | } | ||
733 | static inline u32 gr_fecs_host_int_clear_r(void) | ||
734 | { | ||
735 | return 0x00409c20; | ||
736 | } | ||
721 | static inline u32 gr_fecs_host_int_enable_r(void) | 737 | static inline u32 gr_fecs_host_int_enable_r(void) |
722 | { | 738 | { |
723 | return 0x00409c24; | 739 | return 0x00409c24; |