diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2016-11-03 05:51:43 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-20 18:15:46 -0500 |
commit | 75e52218cec5ccfbb8ec61cb8ba5e41f5e5ec7e5 (patch) | |
tree | f931c856ba99844cb2121df36961c4a45326c775 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | d301c02246b95214b13ee7ac8eeceb34acd0899a (diff) |
gpu: nvgpu: PG engines init/allow/disallow update
- pmu_init_powergating loops & init multiple
PG engines based on PG engines supported
- generalize pg init param HAL to support
multiple PG-engine init based on PG engine
parameter
- HAL's to return supported PG engines on chip &
its sub features of engine.
- Send Allow/Disallow for PG engines which are
enabled & supported.
- Added defines for pg engines
JIRA DNVGPU-71
Change-Id: I236601e092e519a269fcb17c7d1c523a4b51405f
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1247409
(cherry-picked from commit 1c138cc475bac7d3c3fbbd5fb18cfcb2e7fdf67a)
Reviewed-on: http://git-master/r/1269319
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 987dd517..a1a8bf36 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -606,8 +606,10 @@ struct gpu_ops { | |||
606 | void (*pmu_elpg_statistics)(struct gk20a *g, | 606 | void (*pmu_elpg_statistics)(struct gk20a *g, |
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_grinit_param)(struct gk20a *g, | 609 | int (*pmu_pg_init_param)(struct gk20a *g, u32 pg_engine_id); |
610 | u8 grfeaturemask); | 610 | u32 (*pmu_pg_supported_engines_list)(struct gk20a *g); |
611 | u32 (*pmu_pg_engines_feature_list)(struct gk20a *g, | ||
612 | u32 pg_engine_id); | ||
611 | int (*send_lrf_tex_ltc_dram_overide_en_dis_cmd) | 613 | int (*send_lrf_tex_ltc_dram_overide_en_dis_cmd) |
612 | (struct gk20a *g, u32 mask); | 614 | (struct gk20a *g, u32 mask); |
613 | void (*dump_secure_fuses)(struct gk20a *g); | 615 | void (*dump_secure_fuses)(struct gk20a *g); |