projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amdgpu:changes of virtualization cases probe (v3)
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
amdgpu_drv.c
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index
c96ae10
..
0c5f36d
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@
-485,7
+485,7
@@
amdgpu_pci_shutdown(struct pci_dev *pdev)
/* if we are running in a VM, make sure the device
* torn down properly on reboot/shutdown
*/
- if (a
dev->virtualization.is_virtual
)
+ if (a
mdgpu_passthrough(adev)
)
amdgpu_pci_remove(pdev);
}