summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/hw
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2018-03-26 14:15:33 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-28 16:32:15 -0400
commit1557ee63edabe64c32226ce3f086dffbe2610c2a (patch)
treef39291c7bdb22b687c0fd2d5da5253bce17cb5b9 /drivers/gpu/nvgpu/include/nvgpu/hw
parentd20a501dcbf2e29d5d319670485f273afa3aefad (diff)
gpu: nvgpu: add accessor for gpc priv stride
Re-generate headers for proj_gpc_priv_stride accessor. This is needed to compute priv error register offsets. Bug 2093058 Change-Id: Ied4e2b072f650940757c44e261b416d388e8924c Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1682117 Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h6
-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
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h6
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h6
6 files changed, 30 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h
index 5ef03f5a..10509ca4 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2012-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2012-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
68{ 68{
69 return 0x00008000U; 69 return 0x00008000U;
70} 70}
71static inline u32 proj_gpc_priv_stride_v(void)
72{
73 return 0x00000800U;
74}
71static inline u32 proj_ltc_stride_v(void) 75static inline u32 proj_ltc_stride_v(void)
72{ 76{
73 return 0x00002000U; 77 return 0x00002000U;
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 d44cc463..8129ea6d 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-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
68{ 68{
69 return 0x00008000U; 69 return 0x00008000U;
70} 70}
71static inline u32 proj_gpc_priv_stride_v(void)
72{
73 return 0x00000800U;
74}
71static inline u32 proj_ltc_stride_v(void) 75static inline u32 proj_ltc_stride_v(void)
72{ 76{
73 return 0x00002000U; 77 return 0x00002000U;
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 be2111cc..866bc7b6 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-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
68{ 68{
69 return 0x00008000U; 69 return 0x00008000U;
70} 70}
71static inline u32 proj_gpc_priv_stride_v(void)
72{
73 return 0x00000800U;
74}
71static inline u32 proj_ltc_stride_v(void) 75static inline u32 proj_ltc_stride_v(void)
72{ 76{
73 return 0x00002000U; 77 return 0x00002000U;
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 f5d60beb..a885e933 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) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
68{ 68{
69 return 0x00008000U; 69 return 0x00008000U;
70} 70}
71static inline u32 proj_gpc_priv_stride_v(void)
72{
73 return 0x00000800U;
74}
71static inline u32 proj_ltc_stride_v(void) 75static inline u32 proj_ltc_stride_v(void)
72{ 76{
73 return 0x00002000U; 77 return 0x00002000U;
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 dc4c377d..f46eaa09 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
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
68{ 68{
69 return 0x00008000U; 69 return 0x00008000U;
70} 70}
71static inline u32 proj_gpc_priv_stride_v(void)
72{
73 return 0x00000800U;
74}
71static inline u32 proj_ltc_stride_v(void) 75static inline u32 proj_ltc_stride_v(void)
72{ 76{
73 return 0x00002000U; 77 return 0x00002000U;
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 808fe316..72832377 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
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -68,6 +68,10 @@ static inline u32 proj_gpc_stride_v(void)
68{ 68{
69 return 0x00008000U; 69 return 0x00008000U;
70} 70}
71static inline u32 proj_gpc_priv_stride_v(void)
72{
73 return 0x00000800U;
74}
71static inline u32 proj_ltc_stride_v(void) 75static inline u32 proj_ltc_stride_v(void)
72{ 76{
73 return 0x00002000U; 77 return 0x00002000U;