mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Execute pci settings deferred from Devinit.
The devinit executes in parallel with PCIE link training to reduce exit latency. Therefore, all PCIE settings that normally occur during devinit after the PCIE link is up are deferred until nvgpu has resumed control. Bug 2661545 Change-Id: Ifdd4f645b2e1791d93567cc34d6ab0691a25d101 Signed-off-by: Abdul Salam <absalam@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2210625 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
c4120eacbb
commit
767e505792
@@ -441,6 +441,12 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
g->sim->sim_init_late(g);
|
||||
}
|
||||
|
||||
if (nvgpu_is_enabled(g, NVGPU_SUPPORT_DGPU_PCIE_SCRIPT_EXECUTE) &&
|
||||
nvgpu_platform_is_silicon(g)) {
|
||||
g->ops.clk.change_host_clk_source(g);
|
||||
g->ops.xve.devinit_deferred_settings(g);
|
||||
}
|
||||
|
||||
if (nvgpu_is_enabled(g, NVGPU_SUPPORT_DGPU_THERMAL_ALERT) &&
|
||||
nvgpu_platform_is_silicon(g)) {
|
||||
err = nvgpu_request_therm_irq(l);
|
||||
|
||||
Reference in New Issue
Block a user