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:
Nitin Kumbhar
2018-11-12 14:11:00 +05:30
committed by mobile promotions
parent f0762ed483
commit bc0cf21cfb
2 changed files with 4 additions and 2 deletions

View File

@@ -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;
}