diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h index 517cffef..d99e6135 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h | |||
@@ -118,6 +118,22 @@ static inline u32 top_device_info_type_enum_graphics_f(void) | |||
118 | { | 118 | { |
119 | return 0x0; | 119 | return 0x0; |
120 | } | 120 | } |
121 | static inline u32 top_device_info_type_enum_copy0_v(void) | ||
122 | { | ||
123 | return 0x00000001; | ||
124 | } | ||
125 | static inline u32 top_device_info_type_enum_copy0_f(void) | ||
126 | { | ||
127 | return 0x4; | ||
128 | } | ||
129 | static inline u32 top_device_info_type_enum_copy1_v(void) | ||
130 | { | ||
131 | return 0x00000002; | ||
132 | } | ||
133 | static inline u32 top_device_info_type_enum_copy1_f(void) | ||
134 | { | ||
135 | return 0x8; | ||
136 | } | ||
121 | static inline u32 top_device_info_type_enum_copy2_v(void) | 137 | static inline u32 top_device_info_type_enum_copy2_v(void) |
122 | { | 138 | { |
123 | return 0x00000003; | 139 | return 0x00000003; |