mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: optimize dgpu gc off delays
Add separate delays for dgpu power off and reduce those to 2ms. JIRA NVGPU-1100 Change-Id: I08b2efb6d13f395e84b5c5de378288883294597f Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1947976 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
f0762ed483
commit
bc0cf21cfb
@@ -258,7 +258,7 @@ static int nvgpu_disable_pci_rail(struct nvgpu_pci_gpios *pgpios)
|
||||
|
||||
gpio_set_value(pci_vbat_pwr_on_gpio, 0);
|
||||
|
||||
mdelay(PCI_VBAR_PWR_ON_DELAY_MS);
|
||||
mdelay(PCI_VBAR_PWR_OFF_DELAY_MS);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ static int nvgpu_deassert_pci_pwr_on(struct nvgpu_pci_gpios *pgpios)
|
||||
|
||||
gpio_set_value(pci_pwr_on, 0);
|
||||
|
||||
mdelay(PCI_PWR_ON_DELAY_MS);
|
||||
mdelay(PCI_PWR_OFF_DELAY_MS);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user