diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
4 files changed, 32 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h index 8f30654f..338edef2 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h | |||
@@ -204,6 +204,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i) | |||
204 | { | 204 | { |
205 | return 0x00040118U + i*8192U; | 205 | return 0x00040118U + i*8192U; |
206 | } | 206 | } |
207 | static inline u32 pbdma_gp_shadow_0_r(u32 i) | ||
208 | { | ||
209 | return 0x00040110U + i*8192U; | ||
210 | } | ||
211 | static inline u32 pbdma_gp_shadow_1_r(u32 i) | ||
212 | { | ||
213 | return 0x00040114U + i*8192U; | ||
214 | } | ||
207 | static inline u32 pbdma_subdevice_r(u32 i) | 215 | static inline u32 pbdma_subdevice_r(u32 i) |
208 | { | 216 | { |
209 | return 0x00040094U + i*8192U; | 217 | return 0x00040094U + i*8192U; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h index 46edf7aa..b8d7bbe4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h | |||
@@ -188,6 +188,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i) | |||
188 | { | 188 | { |
189 | return 0x00040118U + i*8192U; | 189 | return 0x00040118U + i*8192U; |
190 | } | 190 | } |
191 | static inline u32 pbdma_gp_shadow_0_r(u32 i) | ||
192 | { | ||
193 | return 0x00040110U + i*8192U; | ||
194 | } | ||
195 | static inline u32 pbdma_gp_shadow_1_r(u32 i) | ||
196 | { | ||
197 | return 0x00040114U + i*8192U; | ||
198 | } | ||
191 | static inline u32 pbdma_subdevice_r(u32 i) | 199 | static inline u32 pbdma_subdevice_r(u32 i) |
192 | { | 200 | { |
193 | return 0x00040094U + i*8192U; | 201 | return 0x00040094U + i*8192U; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h index 15531d53..dad6317d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h | |||
@@ -188,6 +188,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i) | |||
188 | { | 188 | { |
189 | return 0x00040118U + i*8192U; | 189 | return 0x00040118U + i*8192U; |
190 | } | 190 | } |
191 | static inline u32 pbdma_gp_shadow_0_r(u32 i) | ||
192 | { | ||
193 | return 0x00040110U + i*8192U; | ||
194 | } | ||
195 | static inline u32 pbdma_gp_shadow_1_r(u32 i) | ||
196 | { | ||
197 | return 0x00040114U + i*8192U; | ||
198 | } | ||
191 | static inline u32 pbdma_subdevice_r(u32 i) | 199 | static inline u32 pbdma_subdevice_r(u32 i) |
192 | { | 200 | { |
193 | return 0x00040094U + i*8192U; | 201 | return 0x00040094U + i*8192U; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h index d49cc95f..4f45f824 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h | |||
@@ -188,6 +188,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i) | |||
188 | { | 188 | { |
189 | return 0x00040118U + i*8192U; | 189 | return 0x00040118U + i*8192U; |
190 | } | 190 | } |
191 | static inline u32 pbdma_gp_shadow_0_r(u32 i) | ||
192 | { | ||
193 | return 0x00040110U + i*8192U; | ||
194 | } | ||
195 | static inline u32 pbdma_gp_shadow_1_r(u32 i) | ||
196 | { | ||
197 | return 0x00040114U + i*8192U; | ||
198 | } | ||
191 | static inline u32 pbdma_subdevice_r(u32 i) | 199 | static inline u32 pbdma_subdevice_r(u32 i) |
192 | { | 200 | { |
193 | return 0x00040094U + i*8192U; | 201 | return 0x00040094U + i*8192U; |