summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h6
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h6
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h6
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}
125static inline u32 proj_scal_litter_num_sm_per_tpc_v(void)
126{
127 return 0x00000001;
128}
125static inline u32 proj_scal_litter_num_fbps_v(void) 129static 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}
133static inline u32 proj_scal_litter_num_sm_per_tpc_v(void)
134{
135 return 0x00000001;
136}
133static inline u32 proj_scal_litter_num_fbps_v(void) 137static 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}
133static inline u32 proj_scal_litter_num_sm_per_tpc_v(void)
134{
135 return 0x00000001;
136}
133static inline u32 proj_scal_litter_num_fbps_v(void) 137static inline u32 proj_scal_litter_num_fbps_v(void)
134{ 138{
135 return 0x00000001; 139 return 0x00000001;