Skip to content
Snippets Groups Projects
Commit c9574ad7 authored by Mario Limonciello's avatar Mario Limonciello Committed by Linux Infrastructure
Browse files

drm/amd: Check if ASPM is enabled from PCIe subsystem

commit 0064b0ce ("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: 0064b0ce ("drm/amd/pm: enable ASPM by default")
Link: https://wiki.raptorcs.com/w/images/a/ad/P9_PHB_version1.0_27July2018_pub.pdf
Link: drm/amd#1723
Link: drm/amd#1739
Link: drm/amd#1885
Link: drm/amd#1907


Tested-by: default avatar <koba.ko@canonical.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Change-Id: Ib518ff562f9c6f0911446d345360c2108a597063
parent dccf9b1c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment