diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-01-12 00:15:51 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-16 07:53:38 -0500 |
commit | c8d82d465c03b4d7e18ab1ba1bfce6581d2aad6e (patch) | |
tree | 4e4fee5ea1d2bb214a886ca11ab3fd27c339d942 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | a177c8e2383f3e7a5b3c8cd5d204e4594bb04875 (diff) |
gpu: nvgpu: HAL to query LPWR feature support
HAL to query LPWR feautre's RPPG/MSCG support
based on current pstate configured.
JIRA DNVGPU-71
Change-Id: I58a34c6dca68e3eb76e222bd781578bf682eac34
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1283916
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ff8ffc4f..5e2344cf 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -610,6 +610,8 @@ struct gpu_ops { | |||
610 | u32 (*pmu_pg_supported_engines_list)(struct gk20a *g); | 610 | u32 (*pmu_pg_supported_engines_list)(struct gk20a *g); |
611 | u32 (*pmu_pg_engines_feature_list)(struct gk20a *g, | 611 | u32 (*pmu_pg_engines_feature_list)(struct gk20a *g, |
612 | u32 pg_engine_id); | 612 | u32 pg_engine_id); |
613 | bool (*pmu_is_lpwr_feature_supported)(struct gk20a *g, | ||
614 | u32 feature_id); | ||
613 | int (*pmu_lpwr_enable_pg)(struct gk20a *g, bool pstate_lock); | 615 | int (*pmu_lpwr_enable_pg)(struct gk20a *g, bool pstate_lock); |
614 | int (*pmu_lpwr_disable_pg)(struct gk20a *g, bool pstate_lock); | 616 | int (*pmu_lpwr_disable_pg)(struct gk20a *g, bool pstate_lock); |
615 | u32 (*pmu_pg_param_post_init)(struct gk20a *g); | 617 | u32 (*pmu_pg_param_post_init)(struct gk20a *g); |