diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h index c70f388c..cca37294 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_top_gm20b.h | |||
@@ -138,6 +138,22 @@ static inline u32 top_device_info_type_enum_graphics_f(void) | |||
138 | { | 138 | { |
139 | return 0x0; | 139 | return 0x0; |
140 | } | 140 | } |
141 | static inline u32 top_device_info_type_enum_copy0_v(void) | ||
142 | { | ||
143 | return 0x00000001; | ||
144 | } | ||
145 | static inline u32 top_device_info_type_enum_copy0_f(void) | ||
146 | { | ||
147 | return 0x4; | ||
148 | } | ||
149 | static inline u32 top_device_info_type_enum_copy1_v(void) | ||
150 | { | ||
151 | return 0x00000002; | ||
152 | } | ||
153 | static inline u32 top_device_info_type_enum_copy1_f(void) | ||
154 | { | ||
155 | return 0x8; | ||
156 | } | ||
141 | static inline u32 top_device_info_type_enum_copy2_v(void) | 157 | static inline u32 top_device_info_type_enum_copy2_v(void) |
142 | { | 158 | { |
143 | return 0x00000003; | 159 | return 0x00000003; |