diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-10-02 19:37:50 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-13 18:20:12 -0400 |
commit | 7612e412151c676c4e7af08839bd98d879a25dea (patch) | |
tree | 50380df9e950b04e36978ed2a065360132093e86 /drivers/gpu | |
parent | b0092ea95c6e1f695912cdb0b13767f3881cb22f (diff) |
gpu: nvgpu: gvxx: add hw defines for pbdma info
Generated following hw definitions to dump relevant data:
pbdma_gp_shadow_0_r
pbdma_gp_shadow_1_r
Bug 2003671
Change-Id: If2d0557b3c2896747793ff2afad875206e25c6d8
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1572183
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h | 8 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h index 2d98b914..66a0737c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h | |||
@@ -172,6 +172,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i) | |||
172 | { | 172 | { |
173 | return 0x00040118U + i*8192U; | 173 | return 0x00040118U + i*8192U; |
174 | } | 174 | } |
175 | static inline u32 pbdma_gp_shadow_0_r(u32 i) | ||
176 | { | ||
177 | return 0x00040110U + i*8192U; | ||
178 | } | ||
179 | static inline u32 pbdma_gp_shadow_1_r(u32 i) | ||
180 | { | ||
181 | return 0x00040114U + i*8192U; | ||
182 | } | ||
175 | static inline u32 pbdma_subdevice_r(u32 i) | 183 | static inline u32 pbdma_subdevice_r(u32 i) |
176 | { | 184 | { |
177 | return 0x00040094U + i*8192U; | 185 | return 0x00040094U + i*8192U; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h index 74ff4002..9b9017ee 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h | |||
@@ -172,6 +172,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i) | |||
172 | { | 172 | { |
173 | return 0x00040118U + i*8192U; | 173 | return 0x00040118U + i*8192U; |
174 | } | 174 | } |
175 | static inline u32 pbdma_gp_shadow_0_r(u32 i) | ||
176 | { | ||
177 | return 0x00040110U + i*8192U; | ||
178 | } | ||
179 | static inline u32 pbdma_gp_shadow_1_r(u32 i) | ||
180 | { | ||
181 | return 0x00040114U + i*8192U; | ||
182 | } | ||
175 | static inline u32 pbdma_subdevice_r(u32 i) | 183 | static inline u32 pbdma_subdevice_r(u32 i) |
176 | { | 184 | { |
177 | return 0x00040094U + i*8192U; | 185 | return 0x00040094U + i*8192U; |