android_kernel_oneplus_msm8998/drivers/gpu/drm/amd
Alex Deucher e79d5c0870 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
2015-10-06 10:43:16 -04:00
..
amdgpu drm/amdgpu: check before checking pci bridge registers 2015-10-06 10:43:16 -04:00
amdkfd amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h> 2015-08-30 12:36:58 +03:00
include drm/amdgpu/cgs: remove import_gpu_mem 2015-09-30 12:44:16 -04:00
scheduler drm/amdgpu: more scheduler cleanups v2 2015-09-23 17:23:39 -04:00