diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h index a2405a04..42a82a12 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.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; |