diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2015-10-06 16:38:45 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-06 17:43:16 +0300 |
| commit | e79d5c0870eedce94e5f5a2ffab30511e48fa144 (patch) | |
| tree | 937fd1b2d17130f8b9e0e5b8cf793b1d0d317c2e /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | 26d0c21db1fd1679fcf07863741c13ba5ce37a65 (diff) | |
| download | linux-e79d5c0870eedce94e5f5a2ffab30511e48fa144.tar.xz | |
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 <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
