diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-07-11 02:12:01 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-09-25 03:18:59 -0400 |
commit | 350bb74859eb6eb0d0ba7c8e6792a0b4e48849b4 (patch) | |
tree | 3756bbd4d958930a4d999f95b8ef90694e3cf3c1 /drivers/gpu/nvgpu/include | |
parent | b5556c74905974b0b19defb775f7301a341982a0 (diff) |
gpu: nvgpu: PMU debug reorg
- Moved PMU debug related code to pmu_debug.c
Print pmu trace buffer
Moved PMU controller/engine status dump debug code
Moved ELPG stats dump code
- Removed PMU falcon controller status dump code & used
nvgpu_flcn_dump_stats() method,
- Method to print ELPG stats.
- PMU HAL to print PMU engine & ELPG debug info upon error
NVGPU JIRA-96
Change-Id: Iaa3d983f1d3b78a1b051beb6c109d3da8f8c90bc
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1516640
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/pmu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmu.h b/drivers/gpu/nvgpu/include/nvgpu/pmu.h index 556d9f39..60ce8b96 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/pmu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/pmu.h | |||
@@ -449,4 +449,9 @@ int nvgpu_aelpg_init_and_enable(struct gk20a *g, u8 ctrl_id); | |||
449 | int nvgpu_pmu_ap_send_command(struct gk20a *g, | 449 | int nvgpu_pmu_ap_send_command(struct gk20a *g, |
450 | union pmu_ap_cmd *p_ap_cmd, bool b_block); | 450 | union pmu_ap_cmd *p_ap_cmd, bool b_block); |
451 | 451 | ||
452 | /* PMU debug */ | ||
453 | void nvgpu_pmu_dump_falcon_stats(struct nvgpu_pmu *pmu); | ||
454 | void nvgpu_pmu_dump_elpg_stats(struct nvgpu_pmu *pmu); | ||
455 | bool nvgpu_find_hex_in_string(char *strings, struct gk20a *g, u32 *hex_pos); | ||
456 | |||
452 | #endif /* __NVGPU_PMU_H__ */ | 457 | #endif /* __NVGPU_PMU_H__ */ |