summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hw_top_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/hw_top_gp106.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hw_top_gp106.h b/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
index bef6b804..e833c152 100644
--- a/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/hw_top_gp106.h
@@ -146,6 +146,14 @@ 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_lce_v(void)
150{
151 return 0x00000013;
152}
153static inline u32 top_device_info_type_enum_lce_f(void)
154{
155 return 0x4c;
156}
149static inline u32 top_device_info_entry_v(u32 r) 157static inline u32 top_device_info_entry_v(u32 r)
150{ 158{
151 return (r >> 0) & 0x3; 159 return (r >> 0) & 0x3;