diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-12-30 19:51:52 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-19 14:39:54 -0500 |
commit | 968d8cd3e543b951714d9a86373bd721d08c8482 (patch) | |
tree | 01c4a759468421c33aa121991957331ed86546db /drivers/gpu/nvgpu/gp10b/platform_gp10b.h | |
parent | f50c2af8a7d147855e5537531078bb03740abb67 (diff) |
gpu: nvgpu: gv11b: enable devfreq
Enable devfreq for gv11b by enabling ""nvhost_podgov"
governor in platform data.
Reuse scaling functions from gp10b/gk20a.
Remove emc floor on railgate for power saving and make
max emc frequency as floor in rail-ungate for faster gpu boot.
Bug 2039013
Bug 200377508
Change-Id: I65ee7735202e3decbe3451157f7fc1f1f273c3ff
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1639752
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/platform_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/platform_gp10b.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b.h b/drivers/gpu/nvgpu/gp10b/platform_gp10b.h index 0791c2fe..35fb5bb5 100644 --- a/drivers/gpu/nvgpu/gp10b/platform_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GP10B Platform (SoC) Interface | 2 | * GP10B Platform (SoC) Interface |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -30,5 +30,10 @@ struct device; | |||
30 | int gp10b_tegra_get_clocks(struct device *dev); | 30 | int gp10b_tegra_get_clocks(struct device *dev); |
31 | int gp10b_tegra_reset_assert(struct device *dev); | 31 | int gp10b_tegra_reset_assert(struct device *dev); |
32 | int gp10b_tegra_reset_deassert(struct device *dev); | 32 | int gp10b_tegra_reset_deassert(struct device *dev); |
33 | 33 | long gp10b_round_clk_rate(struct device *dev, unsigned long rate); | |
34 | int gp10b_clk_get_freqs(struct device *dev, | ||
35 | unsigned long **freqs, int *num_freqs); | ||
36 | void gp10b_tegra_prescale(struct device *dev); | ||
37 | void gp10b_tegra_postscale(struct device *pdev, unsigned long freq); | ||
38 | int gp10b_tegra_late_probe(struct device *dev); | ||
34 | #endif | 39 | #endif |