mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
791ce6bd54
commit
9afb084055
@@ -177,6 +177,9 @@ struct gk20a_platform {
|
||||
/* Called to register GPCPLL with common clk framework */
|
||||
int (*clk_register)(struct gk20a *g);
|
||||
|
||||
/* platform specific scale init quirks */
|
||||
void (*initscale)(struct device *dev);
|
||||
|
||||
/* Postscale callback is called after frequency change */
|
||||
void (*postscale)(struct device *dev,
|
||||
unsigned long freq);
|
||||
|
||||
Reference in New Issue
Block a user