diff options
author | Alex Frid <afrid@nvidia.com> | 2013-09-27 19:17:32 -0700 |
---|---|---|
committer | Ajay Nandakumar <anandakumarm@nvidia.com> | 2013-10-03 19:17:52 +0530 |
commit | 12f9c0dfbe01115435a26b4b9ac387f0852218fb (patch) | |
tree | 488e9095a1c6244de0a6441778ecc52a14d8cc99 /arch/arm/mach-tegra/dvfs.c | |
parent | 84827d68021e3ff1c0018dde94cc65581d486806 (diff) |
ARM: tegra: dvfs: Add GPU scaling trip-points interfaces
Added common interfaces to set GPU scaling trip-points.
Bug 1273253
Change-Id: I25f5870c00b1e3b8fb4fdcd685900512954a9125
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/280079
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 840ed28c2d5f35b3c6c8f8ce9c6a044a4bc57705)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.c')
-rw-r--r-- | arch/arm/mach-tegra/dvfs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/dvfs.c b/arch/arm/mach-tegra/dvfs.c index 7a5e81a43d01..65967014231f 100644 --- a/arch/arm/mach-tegra/dvfs.c +++ b/arch/arm/mach-tegra/dvfs.c @@ -1275,6 +1275,13 @@ struct tegra_cooling_device *tegra_dvfs_get_gpu_vmin_cdev(void) return NULL; } +struct tegra_cooling_device *tegra_dvfs_get_gpu_vts_cdev(void) +{ + if (tegra_gpu_rail) + return tegra_gpu_rail->vts_cdev; + return NULL; +} + static void make_safe_thermal_dvfs_one(struct dvfs *d, struct tegra_cooling_device *cdev) { |