From be42a5bffb1ddc24618a1a52615fbad02abad786 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 1 Dec 2016 11:19:30 -0800 Subject: gpu: nvgpu: Disable ASPM for PCI platforms Disable ASPM on boot for PCIe platforms. Bug 200256272 Change-Id: I0dc63c1a5a9941a5ecdc6a5d691c0b780fb9a6b5 Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/1263272 (cherry picked from commit bf576ea8a88326d107b3a91d196fe6d6018185f6) Reviewed-on: http://git-master/r/1274478 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/pci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c index 7cc058e4..7dd5ce03 100644 --- a/drivers/gpu/nvgpu/pci.c +++ b/drivers/gpu/nvgpu/pci.c @@ -66,6 +66,8 @@ static struct gk20a_platform nvgpu_pci_device[] = { .enable_slcg = true, .enable_blcg = true, + .disable_aspm = true, + /* power management callbacks */ .is_railgated = nvgpu_pci_tegra_is_railgated, .clk_round_rate = nvgpu_pci_clk_round_rate, @@ -94,6 +96,8 @@ static struct gk20a_platform nvgpu_pci_device[] = { .enable_slcg = true, .enable_blcg = true, + .disable_aspm = true, + /* power management callbacks */ .is_railgated = nvgpu_pci_tegra_is_railgated, .clk_round_rate = nvgpu_pci_clk_round_rate, @@ -122,6 +126,8 @@ static struct gk20a_platform nvgpu_pci_device[] = { .enable_slcg = true, .enable_blcg = true, + .disable_aspm = true, + /* power management callbacks */ .is_railgated = nvgpu_pci_tegra_is_railgated, .clk_round_rate = nvgpu_pci_clk_round_rate, -- cgit v1.2.2