summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h
index ca6457c7..0982bc09 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_top_gp10b.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}
105static inline u32 top_device_info_intr_enum_v(u32 r)
106{
107 return (r >> 15) & 0x1f;
108}
109static inline u32 top_device_info_reset_enum_v(u32 r)
110{
111 return (r >> 9) & 0x1f;
112}
105static inline u32 top_device_info_type_enum_v(u32 r) 113static inline u32 top_device_info_type_enum_v(u32 r)
106{ 114{
107 return (r >> 2) & 0x1fffffff; 115 return (r >> 2) & 0x1fffffff;