summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/pci.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index 3d3c2a9f..871abef4 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -757,6 +757,8 @@ static void nvgpu_pci_remove(struct pci_dev *pdev)
757 if (gk20a_gpu_is_virtual(dev)) 757 if (gk20a_gpu_is_virtual(dev))
758 return; 758 return;
759 759
760 nvgpu_nvlink_remove(g);
761
760 gk20a_driver_start_unload(g); 762 gk20a_driver_start_unload(g);
761 err = nvgpu_quiesce(g); 763 err = nvgpu_quiesce(g);
762 /* TODO: handle failure to idle */ 764 /* TODO: handle failure to idle */