summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index deafc438..6cabe526 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -165,6 +165,11 @@ struct zbc_query_params {
165 u32 index_size; /* [out] size, [in] index */ 165 u32 index_size; /* [out] size, [in] index */
166}; 166};
167 167
168struct sm_info {
169 u8 gpc_index;
170 u8 tpc_index;
171};
172
168struct gr_gk20a { 173struct gr_gk20a {
169 struct gk20a *g; 174 struct gk20a *g;
170 struct { 175 struct {
@@ -290,6 +295,8 @@ struct gr_gk20a {
290#ifdef CONFIG_ARCH_TEGRA_18x_SOC 295#ifdef CONFIG_ARCH_TEGRA_18x_SOC
291 struct gr_t18x t18x; 296 struct gr_t18x t18x;
292#endif 297#endif
298 u32 no_of_sm;
299 struct sm_info *sm_to_cluster;
293}; 300};
294 301
295void gk20a_fecs_dump_falcon_stats(struct gk20a *g); 302void gk20a_fecs_dump_falcon_stats(struct gk20a *g);