diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | 12 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h | 6 |
2 files changed, 13 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h index 656597ba..592a7899 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | |||
@@ -462,6 +462,18 @@ static inline u32 gr_pri_fe_go_idle_info_r(void) | |||
462 | { | 462 | { |
463 | return 0x00404194; | 463 | return 0x00404194; |
464 | } | 464 | } |
465 | static inline u32 gr_pri_fe_chip_def_info_r(void) | ||
466 | { | ||
467 | return 0x00404030; | ||
468 | } | ||
469 | static inline u32 gr_pri_fe_chip_def_info_max_veid_count_v(u32 r) | ||
470 | { | ||
471 | return (r >> 0) & 0xfff; | ||
472 | } | ||
473 | static inline u32 gr_pri_fe_chip_def_info_max_veid_count_init_v(void) | ||
474 | { | ||
475 | return 0x00000040; | ||
476 | } | ||
465 | static inline u32 gr_pri_gpc0_tpc0_tex_m_tex_subunits_status_r(void) | 477 | static inline u32 gr_pri_gpc0_tpc0_tex_m_tex_subunits_status_r(void) |
466 | { | 478 | { |
467 | return 0x00504238; | 479 | return 0x00504238; |
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 4e30447c..98acee4c 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, 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, |
@@ -114,10 +114,6 @@ static inline u32 proj_host_num_pbdma_v(void) | |||
114 | { | 114 | { |
115 | return 0x00000003; | 115 | return 0x00000003; |
116 | } | 116 | } |
117 | static inline u32 proj_litter_num_subctx_v(void) | ||
118 | { | ||
119 | return 0x00000040; | ||
120 | } | ||
121 | static inline u32 proj_scal_litter_num_tpc_per_gpc_v(void) | 117 | static inline u32 proj_scal_litter_num_tpc_per_gpc_v(void) |
122 | { | 118 | { |
123 | return 0x00000004; | 119 | return 0x00000004; |