mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: add missing hal defines
Due to lack of GVS coverage some defines were left out in GV100, this change adds them back JIRA: NVGPUGV100-9 Change-Id: I2f5778529dcad535bb56c33c38c097415dbf11e5 Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1577998 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nirav Patel <nipatel@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
0c40a3e034
commit
e78cd6c42a
@@ -76,6 +76,14 @@ static inline u32 proj_lts_stride_v(void)
|
||||
{
|
||||
return 0x00000200U;
|
||||
}
|
||||
static inline u32 proj_fbpa_base_v(void)
|
||||
{
|
||||
return 0x00900000U;
|
||||
}
|
||||
static inline u32 proj_fbpa_shared_base_v(void)
|
||||
{
|
||||
return 0x009a0000U;
|
||||
}
|
||||
static inline u32 proj_fbpa_stride_v(void)
|
||||
{
|
||||
return 0x00004000U;
|
||||
@@ -84,6 +92,10 @@ static inline u32 proj_ppc_in_gpc_base_v(void)
|
||||
{
|
||||
return 0x00003000U;
|
||||
}
|
||||
static inline u32 proj_ppc_in_gpc_shared_base_v(void)
|
||||
{
|
||||
return 0x00003e00U;
|
||||
}
|
||||
static inline u32 proj_ppc_in_gpc_stride_v(void)
|
||||
{
|
||||
return 0x00000200U;
|
||||
@@ -112,6 +124,22 @@ static inline u32 proj_tpc_in_gpc_shared_base_v(void)
|
||||
{
|
||||
return 0x00001800U;
|
||||
}
|
||||
static inline u32 proj_smpc_base_v(void)
|
||||
{
|
||||
return 0x00000200U;
|
||||
}
|
||||
static inline u32 proj_smpc_shared_base_v(void)
|
||||
{
|
||||
return 0x00000300U;
|
||||
}
|
||||
static inline u32 proj_smpc_unique_base_v(void)
|
||||
{
|
||||
return 0x00000600U;
|
||||
}
|
||||
static inline u32 proj_smpc_stride_v(void)
|
||||
{
|
||||
return 0x00000100U;
|
||||
}
|
||||
static inline u32 proj_host_num_engines_v(void)
|
||||
{
|
||||
return 0x0000000fU;
|
||||
|
||||
Reference in New Issue
Block a user