summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2017-08-15 18:28:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-26 20:29:23 -0400
commit9825a8ec69d54c725c38015006aed655d10ac567 (patch)
tree75a085816bca625618869cdbc50522a29b57ea04 /drivers/gpu/nvgpu/include
parent971987f363751076a9bddddf7deb5a5a17e8739a (diff)
gpu: nvgpu: fix handling of EGPC_ETPC_SM addresses
Implemented litter values for following defines: GPU_LIT_SMPC_PRI_BASE GPU_LIT_SMPC_PRI_SHARED_BASE GPU_LIT_SMPC_PRI_UNIQUE_BASE9 GPU_LIT_SMPC_PRI_STRIDE Added broadcast flags for smpc Handled all combinations of broadcast/unicast EGPC, ETPC, SM Bug 200337994 Change-Id: I7aa3c4d9ac4e819010061d44fb5a40056762f518 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1539075 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h
index 7e7ad14a..8406ea21 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h
@@ -116,6 +116,22 @@ static inline u32 proj_tpc_in_gpc_shared_base_v(void)
116{ 116{
117 return 0x00001800; 117 return 0x00001800;
118} 118}
119static inline u32 proj_smpc_base_v(void)
120{
121 return 0x00000200;
122}
123static inline u32 proj_smpc_shared_base_v(void)
124{
125 return 0x00000300;
126}
127static inline u32 proj_smpc_unique_base_v(void)
128{
129 return 0x00000600;
130}
131static inline u32 proj_smpc_stride_v(void)
132{
133 return 0x00000100;
134}
119static inline u32 proj_host_num_engines_v(void) 135static inline u32 proj_host_num_engines_v(void)
120{ 136{
121 return 0x00000004; 137 return 0x00000004;