diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2019-01-15 12:05:16 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-13 14:02:35 -0700 |
| commit | 4ec880d7c1995bac70e1b576378bfb2d829a2465 (patch) | |
| tree | baf3a862e0d75d5453f85d5b786d2ac8f7055f92 /include/linux/vtime.h | |
| parent | 094392380989d1779d35733268ba5657a1fcc571 (diff) | |
drm/radeon: check if device is root before getting pci speed caps
[ Upstream commit afeff4c16edaa6275b903f82b0561406259aa3a3 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/vtime.h')
0 files changed, 0 insertions, 0 deletions
