mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +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
@@ -264,6 +264,13 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
if (err)
|
||||
goto done;
|
||||
|
||||
/* Initialise scaling: it will initialize scaling drive only once */
|
||||
if (IS_ENABLED(CONFIG_GK20A_DEVFREQ)) {
|
||||
gk20a_scale_init(dev);
|
||||
if (platform->initscale)
|
||||
platform->initscale(dev);
|
||||
}
|
||||
|
||||
trace_gk20a_finalize_poweron_done(dev_name(dev));
|
||||
|
||||
err = nvgpu_init_os_linux_ops(l);
|
||||
|
||||
Reference in New Issue
Block a user