aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorFred Gao <[email protected]>2020-11-02 18:01:20 +0000
committerAlex Williamson <[email protected]>2020-11-03 18:07:40 +0000
commite4eccb853664de7bcf9518fb658f35e748bf1f68 (patch)
tree561446c090984cd13fd888ab25db5abbd7a11988 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentvfio: platform: fix reference leak in vfio_platform_open (diff)
downloadkernel-e4eccb853664de7bcf9518fb658f35e748bf1f68.tar.gz
kernel-e4eccb853664de7bcf9518fb658f35e748bf1f68.zip
vfio/pci: Bypass IGD init in case of -ENODEV
Bypass the IGD initialization when -ENODEV returns, that should be the case if opregion is not available for IGD or within discrete graphics device's option ROM, or host/lpc bridge is not found. Then use of -ENODEV here means no special device resources found which needs special care for VFIO, but we still allow other normal device resource access. Cc: Zhenyu Wang <[email protected]> Cc: Xiong Zhang <[email protected]> Cc: Hang Yuan <[email protected]> Cc: Stuart Summers <[email protected]> Signed-off-by: Fred Gao <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions