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>
This commit is contained in:
seshendra Gadagottu
2017-10-02 16:37:50 -07:00
committed by mobile promotions
parent b0092ea95c
commit 7612e41215
2 changed files with 16 additions and 0 deletions

View File

@@ -172,6 +172,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i)
{
return 0x00040118U + i*8192U;
}
static inline u32 pbdma_gp_shadow_0_r(u32 i)
{
return 0x00040110U + i*8192U;
}
static inline u32 pbdma_gp_shadow_1_r(u32 i)
{
return 0x00040114U + i*8192U;
}
static inline u32 pbdma_subdevice_r(u32 i)
{
return 0x00040094U + i*8192U;

View File

@@ -172,6 +172,14 @@ static inline u32 pbdma_hdr_shadow_r(u32 i)
{
return 0x00040118U + i*8192U;
}
static inline u32 pbdma_gp_shadow_0_r(u32 i)
{
return 0x00040110U + i*8192U;
}
static inline u32 pbdma_gp_shadow_1_r(u32 i)
{
return 0x00040114U + i*8192U;
}
static inline u32 pbdma_subdevice_r(u32 i)
{
return 0x00040094U + i*8192U;