summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm206/hw_top_gm206.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/hw_top_gm206.h')
-rw-r--r--drivers/gpu/nvgpu/gm206/hw_top_gm206.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm206/hw_top_gm206.h b/drivers/gpu/nvgpu/gm206/hw_top_gm206.h
index e6ec1d27..988f24ea 100644
--- a/drivers/gpu/nvgpu/gm206/hw_top_gm206.h
+++ b/drivers/gpu/nvgpu/gm206/hw_top_gm206.h
@@ -146,6 +146,22 @@ static inline u32 top_device_info_type_enum_copy0_f(void)
146{ 146{
147 return 0x4; 147 return 0x4;
148} 148}
149static inline u32 top_device_info_type_enum_copy1_v(void)
150{
151 return 0x00000002;
152}
153static inline u32 top_device_info_type_enum_copy1_f(void)
154{
155 return 0x8;
156}
157static inline u32 top_device_info_type_enum_copy2_v(void)
158{
159 return 0x00000003;
160}
161static inline u32 top_device_info_type_enum_copy2_f(void)
162{
163 return 0xc;
164}
149static inline u32 top_device_info_entry_v(u32 r) 165static inline u32 top_device_info_entry_v(u32 r)
150{ 166{
151 return (r >> 0) & 0x3; 167 return (r >> 0) & 0x3;