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

@@ -51,6 +51,8 @@ struct nvgpu_pci_gpios {
/* delays in milliseconds (ms) */
#define PCI_VBAR_PWR_ON_DELAY_MS 15
#define PCI_PWR_ON_DELAY_MS 150
#define PCI_VBAR_PWR_OFF_DELAY_MS 2
#define PCI_PWR_OFF_DELAY_MS 2
struct gk20a_platform {
/* Populated by the gk20a driver before probing the platform. */