From 2269a8675c9e6dfb02379487c45676d1bf84dfcc Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Sat, 14 Oct 2017 07:53:25 -0700 Subject: gpu: nvgpu: Call t19x specific dGPU initialization Change-Id: I888a03199f25a7f55a8ddd099c1980f8170a9a4a Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1579122 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/pci.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/nvgpu/common/linux/pci.c') 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 @@ #include "os_linux.h" #include "pci.h" +#ifdef CONFIG_TEGRA_19x_GPU +#include +#endif #include "os_linux.h" @@ -366,6 +369,10 @@ static int nvgpu_pci_init_support(struct pci_dev *pdev) goto fail; } +#ifdef CONFIG_TEGRA_19x_GPU + t19x_nvgpu_pci_init_support(l); +#endif + return 0; fail: -- cgit v1.2.2