summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2014-04-09 17:47:03 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:10:51 -0400
commit932377f12a4d928ea1e4728f242abe3a1f07eaa6 (patch)
treee9b73e9f2d01180b21731b9cd6bc3832d7df28b8 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentcb93f2518526281577fc8f296c979f162f752dc0 (diff)
gpu: nvpug: add hal func get_gpc_tpc_mask
Retrieve which TPC is floorswept. Bug 1450798 Change-Id: I3ea60703695448c68cd3435f443b280d5b2f0995 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/403876 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 3d93ccde..edf1d548 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -130,6 +130,7 @@ struct gpu_ops {
130 struct gk20a_ctxsw_ucode_segments *segments, 130 struct gk20a_ctxsw_ucode_segments *segments,
131 u32 reg_offset); 131 u32 reg_offset);
132 int (*load_ctxsw_ucode)(struct gk20a *g); 132 int (*load_ctxsw_ucode)(struct gk20a *g);
133 u32 (*get_gpc_tpc_mask)(struct gk20a *g, u32 gpc_index);
133 } gr; 134 } gr;
134 const char *name; 135 const char *name;
135 struct { 136 struct {