diff options
author | Alex Deucher | 2019-01-15 18:05:16 +0100 |
---|---|---|
committer | Alex Deucher | 2019-01-29 16:57:02 +0100 |
commit | afeff4c16edaa6275b903f82b0561406259aa3a3 (patch) | |
tree | 562975a49a29fdcfa4756cb76f6465ae4b1cb826 /arch/hexagon | |
parent | drm/amdgpu: Add missing power attribute to APU check (diff) | |
download | kernel-qcow2-linux-afeff4c16edaa6275b903f82b0561406259aa3a3.tar.gz kernel-qcow2-linux-afeff4c16edaa6275b903f82b0561406259aa3a3.tar.xz kernel-qcow2-linux-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 <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions