diff options
author | Richard Zhao <rizhao@nvidia.com> | 2016-02-26 14:33:08 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-14 13:10:24 -0400 |
commit | e7664f9345772de177fbe20cf415d2fbc6f55d83 (patch) | |
tree | 728d3686e5243ef2e516c3a85e1995d90ebee839 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 8bd22faafdf6fa37f1e0fa523f639b2bca2e868c (diff) |
gpu: nvgpu: make tpc_fs_mask work on production board
On production fused boards, it uses gr_fe_tpc_fs_r() to mask TPCs,
rather than fues.
Bug 1734150
Change-Id: I7b4eb428f1ad0cf841a57214e0c8c1e8f17b2c5a
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1111630
(cherry picked from commit 869ea54967812e03d9f1e69775ca56fd6459216c)
Reviewed-on: http://git-master/r/1122121
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index db5cb56d..71271a2c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -697,6 +697,8 @@ struct gk20a { | |||
697 | 697 | ||
698 | struct gk20a_cde_app cde_app; | 698 | struct gk20a_cde_app cde_app; |
699 | bool mmu_debug_ctrl; | 699 | bool mmu_debug_ctrl; |
700 | |||
701 | u32 tpc_fs_mask_user; | ||
700 | }; | 702 | }; |
701 | 703 | ||
702 | static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g) | 704 | static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g) |