summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/platform_gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-01-23 16:12:04 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-31 17:21:56 -0500
commit9afb084055e77622d1e3faa6099c340d00f94968 (patch)
treedc16c443755c00e6fead2c63a891452ab3d1fc04 /drivers/gpu/nvgpu/common/linux/platform_gk20a.h
parent791ce6bd5480a8393c12be55e8afa459cb4dd1ff (diff)
gpu: nvgpu: enable devfreq after finalize poweron
Enabling gpu scaling driver after finalize poweron, will make gpu booting happen at initially set frequency(1GHz). Also doing platform specific init scale after enabling scaling driver. Bug 2049965 Bug 2039013 Bug 200377508 Change-Id: I633f8f5a25d9de18cbb3a022913b8b725ccd87e5 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1644703 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/platform_gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a.h b/drivers/gpu/nvgpu/common/linux/platform_gk20a.h
index b0c089e6..60e71a74 100644
--- a/drivers/gpu/nvgpu/common/linux/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a.h
@@ -177,6 +177,9 @@ struct gk20a_platform {
177 /* Called to register GPCPLL with common clk framework */ 177 /* Called to register GPCPLL with common clk framework */
178 int (*clk_register)(struct gk20a *g); 178 int (*clk_register)(struct gk20a *g);
179 179
180 /* platform specific scale init quirks */
181 void (*initscale)(struct device *dev);
182
180 /* Postscale callback is called after frequency change */ 183 /* Postscale callback is called after frequency change */
181 void (*postscale)(struct device *dev, 184 void (*postscale)(struct device *dev,
182 unsigned long freq); 185 unsigned long freq);