diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-14 10:53:25 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-16 16:35:18 -0400 |
commit | 2269a8675c9e6dfb02379487c45676d1bf84dfcc (patch) | |
tree | 71ea71346ed707ddaba6d091e4f3aba1d51bd2cc /drivers/gpu | |
parent | 0b6eb9fd80cf53b86de0f8ca4d12db7ead499e40 (diff) |
gpu: nvgpu: Call t19x specific dGPU initialization
Change-Id: I888a03199f25a7f55a8ddd099c1980f8170a9a4a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1579122
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/pci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c index 0ce2ceef..19483f86 100644 --- a/drivers/gpu/nvgpu/common/linux/pci.c +++ b/drivers/gpu/nvgpu/common/linux/pci.c | |||
@@ -32,6 +32,9 @@ | |||
32 | #include "os_linux.h" | 32 | #include "os_linux.h" |
33 | 33 | ||
34 | #include "pci.h" | 34 | #include "pci.h" |
35 | #ifdef CONFIG_TEGRA_19x_GPU | ||
36 | #include <nvgpu/linux/pci_t19x.h> | ||
37 | #endif | ||
35 | 38 | ||
36 | #include "os_linux.h" | 39 | #include "os_linux.h" |
37 | 40 | ||
@@ -366,6 +369,10 @@ static int nvgpu_pci_init_support(struct pci_dev *pdev) | |||
366 | goto fail; | 369 | goto fail; |
367 | } | 370 | } |
368 | 371 | ||
372 | #ifdef CONFIG_TEGRA_19x_GPU | ||
373 | t19x_nvgpu_pci_init_support(l); | ||
374 | #endif | ||
375 | |||
369 | return 0; | 376 | return 0; |
370 | 377 | ||
371 | fail: | 378 | fail: |