diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h index bc4f7f28..2c89ccd6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h | |||
@@ -56,6 +56,10 @@ | |||
56 | #ifndef _hw_bus_gv100_h_ | 56 | #ifndef _hw_bus_gv100_h_ |
57 | #define _hw_bus_gv100_h_ | 57 | #define _hw_bus_gv100_h_ |
58 | 58 | ||
59 | static inline u32 bus_sw_scratch_r(u32 i) | ||
60 | { | ||
61 | return 0x00001580 + i*4; | ||
62 | } | ||
59 | static inline u32 bus_bar0_window_r(void) | 63 | static inline u32 bus_bar0_window_r(void) |
60 | { | 64 | { |
61 | return 0x00001700; | 65 | return 0x00001700; |