diff options
author | 2019-01-15 12:05:16 -0500 | |
---|---|---|
committer | 2019-01-25 16:15:35 -0500 | |
commit | 089888c46841cef767927c9e17e4c9c037d24c4e (patch) | |
tree | 658e75bf285ccb6b90a2b3f27931a69e8c0fd941 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: Add missing power attribute to APU check (diff) | |
download | linux-dev-089888c46841cef767927c9e17e4c9c037d24c4e.tar.xz linux-dev-089888c46841cef767927c9e17e4c9c037d24c4e.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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions