summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-11-09 09:08:33 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-12-26 01:20:09 -0500
commit98e349ab7eb01ac27e1e18477674294ca80d2093 (patch)
treea1b85feb852037a08ad43c8e92254d3250c6cb44 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent71fbfdb2b84a4f778f19e44421a66e28e5aadf8d (diff)
gpu: nvgpu: PG statistics update
- PG statistics read support for multiple engines - updated stat_dmem_offset member to array to hold dmem offset of PG engines - PMU allocates memory in DMEM for each PG engine requested, updated gk20a_pmu_get_elpg_residency_gating() to get engine statistics for requested PG engine JIRA DNVGPU-71 Change-Id: I2ddade37f85716f757bf33034dbff816184577eb Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1250506 (cherry picked from commit 68ba7a97d6662b87d0e489365d8afb8e2d237a03) Reviewed-on: http://git-master/r/1270972 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 782469df..d444447d 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -603,7 +603,7 @@ struct gpu_ops {
603 int (*init_wpr_region)(struct gk20a *g); 603 int (*init_wpr_region)(struct gk20a *g);
604 int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask); 604 int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask);
605 void (*write_dmatrfbase)(struct gk20a *g, u32 addr); 605 void (*write_dmatrfbase)(struct gk20a *g, u32 addr);
606 void (*pmu_elpg_statistics)(struct gk20a *g, 606 void (*pmu_elpg_statistics)(struct gk20a *g, u32 pg_engine_id,
607 u32 *ingating_time, u32 *ungating_time, 607 u32 *ingating_time, u32 *ungating_time,
608 u32 *gating_cnt); 608 u32 *gating_cnt);
609 int (*pmu_pg_init_param)(struct gk20a *g, u32 pg_engine_id); 609 int (*pmu_pg_init_param)(struct gk20a *g, u32 pg_engine_id);