summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-01-12 00:15:51 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-16 07:53:38 -0500
commitc8d82d465c03b4d7e18ab1ba1bfce6581d2aad6e (patch)
tree4e4fee5ea1d2bb214a886ca11ab3fd27c339d942 /drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
parenta177c8e2383f3e7a5b3c8cd5d204e4594bb04875 (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/pmu_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
index 0a1d2ba3..daa050af 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
@@ -647,6 +647,9 @@ struct pmu_pg_stats {
647#define PMU_PG_ELPG_ENGINE_ID_INVALID_ENGINE (0x00000005) 647#define PMU_PG_ELPG_ENGINE_ID_INVALID_ENGINE (0x00000005)
648#define PMU_PG_ELPG_ENGINE_MAX PMU_PG_ELPG_ENGINE_ID_INVALID_ENGINE 648#define PMU_PG_ELPG_ENGINE_MAX PMU_PG_ELPG_ENGINE_ID_INVALID_ENGINE
649 649
650#define PMU_PG_LPWR_FEATURE_RPPG 0x0
651#define PMU_PG_LPWR_FEATURE_MSCG 0x1
652
650/* state transition : 653/* state transition :
651 OFF => [OFF_ON_PENDING optional] => ON_PENDING => ON => OFF 654 OFF => [OFF_ON_PENDING optional] => ON_PENDING => ON => OFF
652 ON => OFF is always synchronized */ 655 ON => OFF is always synchronized */