diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-02-26 11:05:10 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-05 13:30:55 -0500 |
commit | 0bf6718537cf1112cbe2d7c4349188d7e89be90c (patch) | |
tree | b42ad6ea841d07849c4103e925591db6445bf476 /drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h | |
parent | 9c5c71bbed4132a3a5f200064914db768c88302a (diff) |
drm/amdgpu: used cached pcie gen info for SI (v2)
Rather than querying it every time we need it.
Also fixes a crash in VM pass through if there is no
root bridge because the cached value fetch already checks
this properly.
v2: fix includes
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=105244
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rex Zhu<rezhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h')
0 files changed, 0 insertions, 0 deletions