diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-11-11 04:13:11 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:02 -0500 |
commit | 2d23236ae26ec6dcbbc934bb372fe56ef839bb80 (patch) | |
tree | 10913fe93c056db14aed2bd6033ebfc786cc929c /drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h | |
parent | 7918de1c1b05ae126f830588de1cac533ef1c0cf (diff) |
gpu: nvgpu: Use queried interrupt ids
Change-Id: I258b54447d09b32adc076de50997d792f0567af5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/601019
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h index ca6457c7..0982bc09 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h | |||
@@ -102,6 +102,14 @@ static inline u32 top_device_info_runlist_enum_v(u32 r) | |||
102 | { | 102 | { |
103 | return (r >> 21) & 0xf; | 103 | return (r >> 21) & 0xf; |
104 | } | 104 | } |
105 | static inline u32 top_device_info_intr_enum_v(u32 r) | ||
106 | { | ||
107 | return (r >> 15) & 0x1f; | ||
108 | } | ||
109 | static inline u32 top_device_info_reset_enum_v(u32 r) | ||
110 | { | ||
111 | return (r >> 9) & 0x1f; | ||
112 | } | ||
105 | static inline u32 top_device_info_type_enum_v(u32 r) | 113 | static inline u32 top_device_info_type_enum_v(u32 r) |
106 | { | 114 | { |
107 | return (r >> 2) & 0x1fffffff; | 115 | return (r >> 2) & 0x1fffffff; |