diff options
| author | Mario Limonciello <[email protected]> | 2022-02-01 16:26:33 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-02-17 20:59:05 +0000 |
| commit | cba07cce39ace4c719e63b0410a53480aee6aaee (patch) | |
| tree | a6424741c22938c917e1d787f051f7d8d4a61bc7 /drivers/gpu/drm/amd/amdgpu/si.c | |
| parent | drm/amdgpu: Remove redundant .ras_late_init initialization in some ras blocks (diff) | |
| download | kernel-cba07cce39ace4c719e63b0410a53480aee6aaee.tar.gz kernel-cba07cce39ace4c719e63b0410a53480aee6aaee.zip | |
drm/amd: Check if ASPM is enabled from PCIe subsystem
commit 0064b0ce85bb ("drm/amd/pm: enable ASPM by default") enabled ASPM
by default but a variety of hardware configurations it turns out that this
caused a regression.
* PPC64LE hardware does not support ASPM at a hardware level.
CONFIG_PCIEASPM is often disabled on these architectures.
* Some dGPUs on ALD platforms don't work with ASPM enabled and PCIe subsystem
disables it
Check with the PCIe subsystem to see that ASPM has been enabled
or not.
Fixes: 0064b0ce85bb ("drm/amd/pm: enable ASPM by default")
Link: https://wiki.raptorcs.com/w/images/a/ad/P9_PHB_version1.0_27July2018_pub.pdf
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1723
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1739
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1885
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1907
Tested-by: [email protected]
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
0 files changed, 0 insertions, 0 deletions
