diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-10-12 14:35:32 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-17 02:34:04 -0400 |
commit | e78cd6c42aec3ae18f12420fd8eb4cb58d09da2d (patch) | |
tree | b40f87a48237a94dd03c65195671bb9d5de40130 /drivers/gpu/nvgpu/include | |
parent | 0c40a3e034cd9450859dfe713c4d1ca134b77b7e (diff) |
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>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h index 52a7dfc4..dc4c377d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h | |||
@@ -76,6 +76,14 @@ static inline u32 proj_lts_stride_v(void) | |||
76 | { | 76 | { |
77 | return 0x00000200U; | 77 | return 0x00000200U; |
78 | } | 78 | } |
79 | static inline u32 proj_fbpa_base_v(void) | ||
80 | { | ||
81 | return 0x00900000U; | ||
82 | } | ||
83 | static inline u32 proj_fbpa_shared_base_v(void) | ||
84 | { | ||
85 | return 0x009a0000U; | ||
86 | } | ||
79 | static inline u32 proj_fbpa_stride_v(void) | 87 | static inline u32 proj_fbpa_stride_v(void) |
80 | { | 88 | { |
81 | return 0x00004000U; | 89 | return 0x00004000U; |
@@ -84,6 +92,10 @@ static inline u32 proj_ppc_in_gpc_base_v(void) | |||
84 | { | 92 | { |
85 | return 0x00003000U; | 93 | return 0x00003000U; |
86 | } | 94 | } |
95 | static inline u32 proj_ppc_in_gpc_shared_base_v(void) | ||
96 | { | ||
97 | return 0x00003e00U; | ||
98 | } | ||
87 | static inline u32 proj_ppc_in_gpc_stride_v(void) | 99 | static inline u32 proj_ppc_in_gpc_stride_v(void) |
88 | { | 100 | { |
89 | return 0x00000200U; | 101 | return 0x00000200U; |
@@ -112,6 +124,22 @@ static inline u32 proj_tpc_in_gpc_shared_base_v(void) | |||
112 | { | 124 | { |
113 | return 0x00001800U; | 125 | return 0x00001800U; |
114 | } | 126 | } |
127 | static inline u32 proj_smpc_base_v(void) | ||
128 | { | ||
129 | return 0x00000200U; | ||
130 | } | ||
131 | static inline u32 proj_smpc_shared_base_v(void) | ||
132 | { | ||
133 | return 0x00000300U; | ||
134 | } | ||
135 | static inline u32 proj_smpc_unique_base_v(void) | ||
136 | { | ||
137 | return 0x00000600U; | ||
138 | } | ||
139 | static inline u32 proj_smpc_stride_v(void) | ||
140 | { | ||
141 | return 0x00000100U; | ||
142 | } | ||
115 | static inline u32 proj_host_num_engines_v(void) | 143 | static inline u32 proj_host_num_engines_v(void) |
116 | { | 144 | { |
117 | return 0x0000000fU; | 145 | return 0x0000000fU; |