mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
For K4.14, the pci driver is enabled with CONFIG_PCIE_TEGRA=y. The check of dummy APIs doesn't capture this config. Fix this to use tegra_pcie_detach/attach_controller() APIs from the pci driver. Bug 200480179 JIRA NVGPU-1100 Change-Id: I3a2b4f243dce6ead1174b12bc8ce2ffb6700c86b Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1982549 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>