Documentation/amdgpu: Add Ryzen AI 350 series processors
Subsystems (6)
PATCH 1/1 Documentation/amdgpu: Add Ryzen AI 350 series processors
These have been announced so add them to the table.
--- Documentation/gpu/amdgpu/apu-asic-info-table.csv | 1 + 1 file changed, 1 insertion(+)
Documentation/gpu/amdgpu/apu-asic-info-table.csv +1 -0
@@ -13,3 +13,4 @@ Ryzen 7x20 series, Mendocino, 3.1.6, 10.3.7, 3.1.1, 5.2.7, 13.0.8 Ryzen 7x40 series, Phoenix, 3.1.4, 11.0.1 / 11.0.4, 4.0.2, 6.0.1, 13.0.4 / 13.0.11 Ryzen 8x40 series, Hawk Point, 3.1.4, 11.0.1 / 11.0.4, 4.0.2, 6.0.1, 13.0.4 / 13.0.11 Ryzen AI 300 series, Strix Point, 3.5.0, 11.5.0, 4.0.5, 6.1.0, 14.0.0 +Ryzen AI 350 series, Krackan Point, 3.5.0, 11.5.2, 4.0.5, 6.1.2, 14.0.4
Signature · 1 line
2.49.0
PATCH 1/1 platform/x86/amd: pmc: Require at least 2.5 seconds between HW sleep cycles
When an APU exits HW sleep with no active wake sources the Linux kernel will rapidly assert that the APU can enter back into HW sleep. This happens in a few ms. Contrasting this to Windows, Windows can take 10s of seconds to enter back into the resiliency phase for Modern Standby.
For some situations this can be problematic because it can cause leakage from VDDCR_SOC to VDD_MISC and force VDD_MISC outside of the electrical design guide specifications. On some designs this will trip the over voltage protection feature (OVP) of the voltage regulator module, but it could cause APU damage as well.
To prevent this risk, add an explicit sleep call so that future attempts to enter into HW sleep will have enough time to settle. This will occur while the screen is dark and only on cases that the APU should enter HW sleep again, so it shouldn't be noticeable to any user.
--- drivers/platform/x86/amd/pmc/pmc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
drivers/platform/x86/amd/pmc/pmc.c +3 -4
@@ -644,10 +644,9 @@ static void amd_pmc_s2idle_check(void)struct smu_metrics table;int rc; -/* CZN: Ensure that future s0i3 entry attempts at least 10ms passed */ -if (pdev->cpu_id ==AMD_CPU_ID_CZN && !get_metrics_table (pdev, &table) && - table.s0i3_last_entry_status) -usleep_range (10000 ,20000 ); +/* Avoid triggering OVP */ +if (!get_metrics_table (pdev, &table) && table.s0i3_last_entry_status) +msleep (2500 );/* Dump the IdleMask before we add to the STB */ amd_pmc_idlemask_read (pdev, pdev->dev,NULL );
Signature · 1 line
2.43.0
Re: [PATCH] platform/x86/amd: pmc: Require at least 2.5 seconds between HW sleep cycles
Quoted 11 lines · Mario Limonciello
When an APU exits HW sleep with no active wake sources the Linux kernel will rapidly assert that the APU can enter back into HW sleep. This happens in a few ms. Contrasting this to Windows, Windows can take 10s of seconds to enter back into the resiliency phase for Modern Standby.
For some situations this can be problematic because it can cause leakage from
VDDCR_SOCtoVDD_MISCand forceVDD_MISCoutside of the electrical design guide specifications. On some designs this will trip the over voltage protection feature (OVP) of the voltage regulator module, but it could cause APU damage as well.
Quoted 6 lines
To prevent this risk, add an explicit sleep call so that future attempts to enter into HW sleep will have enough time to settle. This will occur while the screen is dark and only on cases that the APU should enter HW sleep again, so it shouldn't be noticeable to any user.
Signed-off-by Mario Limonciello <[email protected]>
This patch went to the wrong list; disregard for now.
Quoted 5 lines · Mario Limonciello
These have been announced so add them to the table.
Quoted 16 lines
--- Documentation/gpu/amdgpu/apu-asic-info-table.csv | 1 + 1 file changed, 1 insertion(+)Documentation/gpu/amdgpu/apu-asic-info-table.csv +1
-1@@ -13,3 +13,4 @@ Ryzen 7x20 series, Mendocino, 3.1.6, 10.3.7, 3.1.1, 5.2.7, 13.0.8 Ryzen 7x40 series, Phoenix, 3.1.4, 11.0.1 / 11.0.4, 4.0.2, 6.0.1, 13.0.4 / 13.0.11 Ryzen 8x40 series, Hawk Point, 3.1.4, 11.0.1 / 11.0.4, 4.0.2, 6.0.1, 13.0.4 / 13.0.11 Ryzen AI 300 series, Strix Point, 3.5.0, 11.5.0, 4.0.5, 6.1.0, 14.0.0 +Ryzen AI 350 series, Krackan Point, 3.5.0, 11.5.2, 4.0.5, 6.1.2, 14.0.4 --2.49.0