summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pci.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-05-24 06:02:22 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-05-26 19:07:33 -0400
commited32288ee8a0664ebe6cd42a290deb0e07ebe356 (patch)
tree518510eef6d92094a3f58dca08abdc3de531aa2f /drivers/gpu/nvgpu/pci.c
parent147330c2dac6ffaed78100a7ad46907d7e622dca (diff)
gpu: nvgpu: ELPG init based on flag
flag helps to enable/disable ELPG init in SW Bug N/A Change-Id: I73eb592b789c2c29db8a75018cbd1617dcf16df8 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1152430 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pci.c')
-rw-r--r--drivers/gpu/nvgpu/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c
index 3057a625..cc68a681 100644
--- a/drivers/gpu/nvgpu/pci.c
+++ b/drivers/gpu/nvgpu/pci.c
@@ -57,6 +57,8 @@ static struct gk20a_platform nvgpu_pci_device = {
57 .remove = nvgpu_pci_tegra_remove, 57 .remove = nvgpu_pci_tegra_remove,
58 .busy = nvgpu_pci_busy, 58 .busy = nvgpu_pci_busy,
59 59
60 .can_elpg = false,
61
60 /* power management callbacks */ 62 /* power management callbacks */
61 .is_railgated = nvgpu_pci_tegra_is_railgated, 63 .is_railgated = nvgpu_pci_tegra_is_railgated,
62 64