diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_pbdma_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_pbdma_gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_pbdma_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_pbdma_gk20a.h index 60e83122..0d749c20 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_pbdma_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_pbdma_gk20a.h | |||
@@ -174,6 +174,10 @@ static inline u32 pbdma_pb_header_type_inc_f(void) | |||
174 | { | 174 | { |
175 | return 0x20000000; | 175 | return 0x20000000; |
176 | } | 176 | } |
177 | static inline u32 pbdma_hdr_shadow_r(u32 i) | ||
178 | { | ||
179 | return 0x00040118 + i*8192; | ||
180 | } | ||
177 | static inline u32 pbdma_subdevice_r(u32 i) | 181 | static inline u32 pbdma_subdevice_r(u32 i) |
178 | { | 182 | { |
179 | return 0x00040094 + i*8192; | 183 | return 0x00040094 + i*8192; |