Divya Singhatwaria
5ec94e4a98
gpu: nvgpu: Use sw ops for PMU PG unit
...
Some functions are not accessing hardware directly
but are being called using HAL ops: For example
g->ops.pmu.pmu_elpg_statistics,
g->ops.pmu.pmu_pg_init_param,
g->ops.pmu.pmu_pg_supported_engines_list,
g->ops.pmu.pmu_pg_engines_feature_list,
g->ops.pmu.pmu_is_lpwr_feature_supported,
g->ops.pmu.pmu_lpwr_enable_pg,
g->ops.pmu.pmu_lpwr_disable_pg,
g->ops.pmu.pmu_pg_param_post_init,
g->ops.pmu.save_zbc
Change the function access by using sw ops, like:
Create new functions:
int nvgpu_pmu_elpg_statistics(struct gk20a *g, u32 pg_engine_id,
struct pmu_pg_stats_data *pg_stat_data);
void nvgpu_pmu_save_zbc(struct gk20a *g, u32 entries);
bool nvgpu_pmu_is_lpwr_feature_supported(struct gk20a *g,
u32 feature_id);
JIRA NVGPU-3209
Change-Id: I6db9b43c7c4a5054720a72487302b740b091044d
Signed-off-by: Divya Singhatwaria <dsinghatwari@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/2110963
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com >
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com >
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2019-05-08 03:25:23 -07:00
..
2019-04-25 07:57:34 -07:00
2019-01-29 21:55:37 -08:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 16:46:00 -07:00
2018-06-15 17:47:31 -07:00
2019-03-18 20:19:10 -07:00
2019-01-31 12:04:10 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-12-19 14:55:15 -08:00
2018-06-27 07:30:06 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-04-19 13:55:11 -07:00
2019-04-19 13:55:11 -07:00
2019-04-22 14:15:22 -07:00
2018-09-05 04:51:40 -07:00
2019-04-29 11:04:46 -07:00
2018-10-19 08:39:43 -07:00
2019-03-16 05:05:41 -07:00
2018-10-19 08:39:43 -07:00
2019-05-06 02:56:53 -07:00
2018-06-15 17:47:31 -07:00
2019-04-22 03:15:09 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-03-27 10:26:02 -07:00
2018-07-24 16:10:58 -07:00
2019-01-10 20:09:38 -08:00
2018-09-05 04:51:50 -07:00
2019-05-08 03:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-02-11 20:55:07 -08:00
2019-02-11 20:55:07 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-09-05 04:51:43 -07:00
2018-10-19 08:39:43 -07:00
2019-03-21 10:55:29 -07:00
2019-02-01 09:45:57 -08:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-04-26 14:15:49 -07:00
2019-05-01 15:06:57 -07:00
2018-07-05 21:48:56 -07:00
2019-04-10 17:24:52 -07:00
2019-05-01 15:06:57 -07:00
2019-04-26 14:15:49 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-02-20 23:05:04 -08:00
2018-06-15 17:47:31 -07:00
2019-01-10 22:54:46 -08:00
2018-06-15 17:47:31 -07:00
2019-04-16 13:04:27 -07:00
2019-05-06 02:56:53 -07:00
2018-06-15 17:47:31 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-04-23 07:14:09 -07:00
2019-05-07 10:40:26 -07:00
2018-10-29 08:04:25 -07:00
2019-05-06 02:56:53 -07:00
2018-07-05 21:48:44 -07:00
2019-05-07 10:40:26 -07:00
2018-06-15 17:47:31 -07:00
2019-03-16 05:05:32 -07:00
2018-06-15 17:47:31 -07:00
2018-11-07 10:35:13 -08:00
2019-05-03 13:08:00 -07:00
2019-05-06 02:56:53 -07:00
2019-03-14 03:38:28 -07:00
2019-02-22 03:47:38 -08:00
2018-11-08 21:42:14 -08:00
2019-04-16 13:04:27 -07:00
2018-06-15 17:47:31 -07:00
2019-05-02 08:56:11 -07:00
2019-04-11 22:24:46 -07:00
2019-05-07 21:38:53 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2019-03-07 11:45:07 -08:00
2019-03-18 15:45:31 -07:00
2019-03-15 02:24:49 -07:00
2018-07-26 00:06:07 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-04-26 14:15:49 -07:00
2019-04-22 05:25:48 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-09-09 17:22:24 -07:00
2018-10-12 17:35:06 +05:30
2018-09-05 04:51:36 -07:00
2019-02-11 20:55:07 -08:00
2018-11-08 19:35:09 -08:00
2018-12-13 04:56:14 -08:00
2018-08-29 20:34:34 -07:00
2019-05-07 14:37:20 -07:00
2018-12-30 23:36:00 -08:00
2018-10-12 17:35:10 +05:30
2019-04-25 15:14:26 -07:00
2018-06-15 17:47:31 -07:00
2019-05-06 16:46:00 -07:00
2018-06-15 17:47:31 -07:00
2019-05-06 16:46:00 -07:00
2019-05-06 16:46:00 -07:00
2018-06-15 17:47:31 -07:00
2019-04-26 16:14:55 -07:00
2018-06-15 17:47:31 -07:00
2019-04-10 06:03:59 -07:00
2018-06-15 17:47:31 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-01-15 12:54:19 -08:00
2018-09-25 13:10:19 -07:00
2018-10-24 23:16:20 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-08 03:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-01-25 01:35:29 -08:00
2019-05-06 12:07:16 -07:00
2019-05-01 15:06:57 -07:00