aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2015-10-06 13:38:45 +0000
committerAlex Deucher <[email protected]>2015-10-06 14:43:16 +0000
commite79d5c0870eedce94e5f5a2ffab30511e48fa144 (patch)
tree937fd1b2d17130f8b9e0e5b8cf793b1d0d317c2e /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amdgpu: fix num_crtc on CZ (diff)
downloadkernel-e79d5c0870eedce94e5f5a2ffab30511e48fa144.tar.gz
kernel-e79d5c0870eedce94e5f5a2ffab30511e48fa144.zip
drm/amdgpu: check before checking pci bridge registers
Make sure we are not the root device before attempting to read the pcie bridge registers to check the pcie gen speeed. Fixes a crash when the device is passed through to a VM. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions