summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/agah/overridetree.cb1
-rw-r--r--src/mainboard/google/brya/variants/agah/variant.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/agah/overridetree.cb b/src/mainboard/google/brya/variants/agah/overridetree.cb
index 550dab60fb..a50a9d4cb8 100644
--- a/src/mainboard/google/brya/variants/agah/overridetree.cb
+++ b/src/mainboard/google/brya/variants/agah/overridetree.cb
@@ -71,6 +71,7 @@ chip soc/intel/alderlake
.clk_req = 0,
.clk_src = 0,
.flags = PCIE_RP_LTR | PCIE_RP_AER,
+ .pcie_rp_aspm = ASPM_DISABLE
}"
device pci 00.0 alias dgpu on end
end
diff --git a/src/mainboard/google/brya/variants/agah/variant.c b/src/mainboard/google/brya/variants/agah/variant.c
index b0baab356b..437fdc4c51 100644
--- a/src/mainboard/google/brya/variants/agah/variant.c
+++ b/src/mainboard/google/brya/variants/agah/variant.c
@@ -132,6 +132,10 @@ static void dgpu_power_sequence_on(void)
void variant_init(void)
{
+ /* Disable ASPM for the GPU until it is verified working. */
+ struct device *dgpu = DEV_PTR(dgpu);
+ dgpu->disable_pcie_aspm = 1;
+
if (acpi_is_wakeup_s3())
return;