diff options
author | Mayank Kaushik <mkaushik@nvidia.com> | 2014-09-17 21:11:45 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:57 -0400 |
commit | 3d313d06570dcb28bba73247a2c0fc52bec56af0 (patch) | |
tree | 69c98965a8f5833c791069d6bd1442075e8e6a2e /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 50d76e9b91a4b4b03bea5f92a7a1af452ce7c6f9 (diff) |
gpu: nvgpu: gm20b: halify tpc lookup
Since the number of TPCs is different between GM20B and GK20a,
the function to look up the number of TPCs needs to be halified.
Change-Id: I19dab9a7105814f86c08c92283a0bb70abb6aa00
Signed-off-by: Mayank Kaushik <mkaushik@nvidia.com>
Reviewed-on: http://git-master/r/500064
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-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 28d43081..309a1b08 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -135,6 +135,8 @@ struct gpu_ops { | |||
135 | u32 mode); | 135 | u32 mode); |
136 | int (*get_zcull_info)(struct gk20a *g, struct gr_gk20a *gr, | 136 | int (*get_zcull_info)(struct gk20a *g, struct gr_gk20a *gr, |
137 | struct gr_zcull_info *zcull_params); | 137 | struct gr_zcull_info *zcull_params); |
138 | bool (*is_tpc_addr)(u32 addr); | ||
139 | u32 (*get_tpc_num)(u32 addr); | ||
138 | } gr; | 140 | } gr; |
139 | const char *name; | 141 | const char *name; |
140 | struct { | 142 | struct { |