aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2019-01-15 17:05:16 +0000
committerAlex Deucher <[email protected]>2019-01-29 15:57:02 +0000
commitafeff4c16edaa6275b903f82b0561406259aa3a3 (patch)
tree562975a49a29fdcfa4756cb76f6465ae4b1cb826 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
parentdrm/amdgpu: Add missing power attribute to APU check (diff)
downloadkernel-afeff4c16edaa6275b903f82b0561406259aa3a3.tar.gz
kernel-afeff4c16edaa6275b903f82b0561406259aa3a3.zip
drm/radeon: check if device is root before getting pci speed caps
Check if the device is root rather before attempting to see what speeds the pcie port supports. Fixes a crash with pci passthrough in a VM. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109366 Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions