diff options
| author | Tong Liu01 <[email protected]> | 2023-05-16 06:50:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 14:40:00 +0000 |
| commit | 04e8595819480bec2754bd2cc4377270e7e6c799 (patch) | |
| tree | a842d15f549f8cbd46eb7ce42736c3cfa14a8334 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: drop unused count variable in create_eml_sink() (diff) | |
| download | kernel-04e8595819480bec2754bd2cc4377270e7e6c799.tar.gz kernel-04e8595819480bec2754bd2cc4377270e7e6c799.zip | |
drm/amdgpu: fix incorrect pcie_gen_mask in passthrough case
[why]
Passthrough case is treated as root bus and pcie_gen_mask is set as
default value that does not support GEN 3 and GEN 4 for PCIe link
speed. So PCIe link speed will be downgraded at smu hw init in
passthrough condition
[how]
Move get pci info after detect virtualization and check if it is
passthrough case when set pcie_gen_mask
Signed-off-by: Tong Liu01 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
