diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-06-28 17:47:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-29 16:28:53 -0400 |
commit | 02d1e7ae979eedf74a27f0ec57bde85c06ba2d35 (patch) | |
tree | 5463d4a437bddfc8f597220fa19860b3f5086282 /drivers/gpu/nvgpu/include | |
parent | 5ad02b2d0149a18f4d226c45f7b23d4e1b18695a (diff) |
gpu: nvgpu: add GPU_LIT_NUM_SM_PER_TPC litter value
Required for multiple SM support in t19x
JIRA GPUT19X-75
Change-Id: I14e19700849faf5180813e82179707a78eb977a5
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master/r/1510358
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Martinez Nieto <dmartineznie@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
3 files changed, 15 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h index 026c7848..eeab2a9a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -122,6 +122,10 @@ static inline u32 proj_scal_litter_num_tpc_per_gpc_v(void) | |||
122 | { | 122 | { |
123 | return 0x00000002; | 123 | return 0x00000002; |
124 | } | 124 | } |
125 | static inline u32 proj_scal_litter_num_sm_per_tpc_v(void) | ||
126 | { | ||
127 | return 0x00000001; | ||
128 | } | ||
125 | static inline u32 proj_scal_litter_num_fbps_v(void) | 129 | static inline u32 proj_scal_litter_num_fbps_v(void) |
126 | { | 130 | { |
127 | return 0x00000001; | 131 | return 0x00000001; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h index 8042bcae..dc56d7c9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -130,6 +130,10 @@ static inline u32 proj_scal_litter_num_tpc_per_gpc_v(void) | |||
130 | { | 130 | { |
131 | return 0x00000005; | 131 | return 0x00000005; |
132 | } | 132 | } |
133 | static inline u32 proj_scal_litter_num_sm_per_tpc_v(void) | ||
134 | { | ||
135 | return 0x00000001; | ||
136 | } | ||
133 | static inline u32 proj_scal_litter_num_fbps_v(void) | 137 | static inline u32 proj_scal_litter_num_fbps_v(void) |
134 | { | 138 | { |
135 | return 0x00000006; | 139 | return 0x00000006; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h index 3392242c..4f398b69 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -130,6 +130,10 @@ static inline u32 proj_scal_litter_num_tpc_per_gpc_v(void) | |||
130 | { | 130 | { |
131 | return 0x00000002; | 131 | return 0x00000002; |
132 | } | 132 | } |
133 | static inline u32 proj_scal_litter_num_sm_per_tpc_v(void) | ||
134 | { | ||
135 | return 0x00000001; | ||
136 | } | ||
133 | static inline u32 proj_scal_litter_num_fbps_v(void) | 137 | static inline u32 proj_scal_litter_num_fbps_v(void) |
134 | { | 138 | { |
135 | return 0x00000001; | 139 | return 0x00000001; |