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 15:44:52 -0500 |
commit | 05656e5e4917a08296300dc0530aed1539202c25 (patch) | |
tree | 63e3f40a335e79c81635c0254d0f201cf699fc9f /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | a8d0fb2fa3e71d73d5cebcd0fe10e18d3b2264e9 (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_acpi.c')
0 files changed, 0 insertions, 0 deletions