diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2016-08-11 18:06:45 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:19 -0500 |
commit | fa58dd3f19b286e04907179c4e3b1c75676482e1 (patch) | |
tree | 18dbb1a20740f6928d96fc869281b357201d8536 /drivers/gpu/nvgpu/gp106/hw_proj_gp106.h | |
parent | a862dd612204813b603dd0c07442488f47c50448 (diff) |
gpu: nvgpu: ppc register support
Fix support for ppc_in_gpc_base
Add support for ppc_in_gpc_shared_base
Bug 1771830
Change-Id: I3c4576c4d9233ec05f9a52952f42e3226532ff5b
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1201509
(cherry picked from commit 8594628ad4cb90e3298b0d1a3f94aeb50d9c27ab)
Reviewed-on: http://git-master/r/1203183
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hw_proj_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hw_proj_gp106.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hw_proj_gp106.h b/drivers/gpu/nvgpu/gp106/hw_proj_gp106.h index 01e835ec..0063712f 100644 --- a/drivers/gpu/nvgpu/gp106/hw_proj_gp106.h +++ b/drivers/gpu/nvgpu/gp106/hw_proj_gp106.h | |||
@@ -78,6 +78,10 @@ static inline u32 proj_ppc_in_gpc_base_v(void) | |||
78 | { | 78 | { |
79 | return 0x00003000; | 79 | return 0x00003000; |
80 | } | 80 | } |
81 | static inline u32 proj_ppc_in_gpc_shared_base_v(void) | ||
82 | { | ||
83 | return 0x00003e00; | ||
84 | } | ||
81 | static inline u32 proj_ppc_in_gpc_stride_v(void) | 85 | static inline u32 proj_ppc_in_gpc_stride_v(void) |
82 | { | 86 | { |
83 | return 0x00000200; | 87 | return 0x00000200; |