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/gm20b/pmu_gm20b.c | |
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/gm20b/pmu_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/pmu_gm20b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c index 08a7e170..2e568e83 100644 --- a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GM20B PMU | 2 | * GM20B PMU |
3 | * | 3 | * |
4 | * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -291,6 +291,7 @@ void gm20b_init_pmu_ops(struct gpu_ops *gops) | |||
291 | gops->pmu.pmu_pg_init_param = NULL; | 291 | gops->pmu.pmu_pg_init_param = NULL; |
292 | gops->pmu.pmu_pg_supported_engines_list = gk20a_pmu_pg_engines_list; | 292 | gops->pmu.pmu_pg_supported_engines_list = gk20a_pmu_pg_engines_list; |
293 | gops->pmu.pmu_pg_engines_feature_list = gk20a_pmu_pg_feature_list; | 293 | gops->pmu.pmu_pg_engines_feature_list = gk20a_pmu_pg_feature_list; |
294 | gops->pmu.pmu_is_lpwr_feature_supported = NULL; | ||
294 | gops->pmu.pmu_lpwr_enable_pg = NULL; | 295 | gops->pmu.pmu_lpwr_enable_pg = NULL; |
295 | gops->pmu.pmu_lpwr_disable_pg = NULL; | 296 | gops->pmu.pmu_lpwr_disable_pg = NULL; |
296 | gops->pmu.pmu_pg_param_post_init = NULL; | 297 | gops->pmu.pmu_pg_param_post_init = NULL; |