diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2015-09-21 18:02:37 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-09-30 11:29:13 -0400 |
commit | dab594ac13e5ca76d09a9ab383c35ad67c1444ef (patch) | |
tree | 44098f9e26af1ba2f9812bcf16dabe8c6fd3ec8e /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | b1cd94025bcd51a82e15eb314ab30e4418372c7f (diff) |
gpu: nvgpu: ELPG init & statistics update
- Required init param to start elpg
- change in statistics dump
Bug 1684939
Change-Id: I26dca52079f08b8962e9cb758831910207610220
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/802456
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/806179
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 207239d1..a5e130cb 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -392,6 +392,11 @@ struct gpu_ops { | |||
392 | int (*init_wpr_region)(struct gk20a *g); | 392 | int (*init_wpr_region)(struct gk20a *g); |
393 | int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask); | 393 | int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask); |
394 | void (*write_dmatrfbase)(struct gk20a *g, u32 addr); | 394 | void (*write_dmatrfbase)(struct gk20a *g, u32 addr); |
395 | void (*pmu_elpg_statistics)(struct gk20a *g, | ||
396 | u32 *ingating_time, u32 *ungating_time, | ||
397 | u32 *gating_cnt); | ||
398 | int (*pmu_pg_grinit_param)(struct gk20a *g, | ||
399 | u8 grfeaturemask); | ||
395 | u32 lspmuwprinitdone; | 400 | u32 lspmuwprinitdone; |
396 | u32 lsfloadedfalconid; | 401 | u32 lsfloadedfalconid; |
397 | bool fecsbootstrapdone; | 402 | bool fecsbootstrapdone; |