diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
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 | } |
71 | static inline u32 proj_gpc_priv_stride_v(void) | ||
72 | { | ||
73 | return 0x00000800U; | ||
74 | } | ||
71 | static inline u32 proj_ltc_stride_v(void) | 75 | static 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 | } |
71 | static inline u32 proj_gpc_priv_stride_v(void) | ||
72 | { | ||
73 | return 0x00000800U; | ||
74 | } | ||
71 | static inline u32 proj_ltc_stride_v(void) | 75 | static 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 | } |
71 | static inline u32 proj_gpc_priv_stride_v(void) | ||
72 | { | ||
73 | return 0x00000800U; | ||
74 | } | ||
71 | static inline u32 proj_ltc_stride_v(void) | 75 | static 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 | } |
71 | static inline u32 proj_gpc_priv_stride_v(void) | ||
72 | { | ||
73 | return 0x00000800U; | ||
74 | } | ||
71 | static inline u32 proj_ltc_stride_v(void) | 75 | static 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 | } |
71 | static inline u32 proj_gpc_priv_stride_v(void) | ||
72 | { | ||
73 | return 0x00000800U; | ||
74 | } | ||
71 | static inline u32 proj_ltc_stride_v(void) | 75 | static 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 | } |
71 | static inline u32 proj_gpc_priv_stride_v(void) | ||
72 | { | ||
73 | return 0x00000800U; | ||
74 | } | ||
71 | static inline u32 proj_ltc_stride_v(void) | 75 | static inline u32 proj_ltc_stride_v(void) |
72 | { | 76 | { |
73 | return 0x00002000U; | 77 | return 0x00002000U; |