Re: amdgpu: suspend-to-idle on a 4350G desktop

From: Rafael Ávila de Espíndola
Date: Mon Jan 23 2023 - 04:12:05 EST


Will do.

Thanks,
Rafael

"Limonciello, Mario" <Mario.Limonciello@xxxxxxx> writes:

> [AMD Official Use Only - General]
>
> Rafael,
>
> Can you please open a bug report here
> https://gitlab.freedesktop.org/drm/amd/-/issues
>
> And attach the log from:
> https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py
>
> If it fails prerequisites please also include a full dmesg including a suspend cycle.
>
> Thanks,
> ________________________________
> From: Rafael Ávila de Espíndola <rafael@xxxxxxxxxx>
> Sent: Saturday, January 21, 2023 10:37:23 AM
> To: Limonciello, Mario <Mario.Limonciello@xxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx <linux-kernel@xxxxxxxxxxxxxxx>
> Subject: amdgpu: suspend-to-idle on a 4350G desktop
>
> Hi,
>
> I have a desktop that doubles as a NAS, and would like to suspend it
> when not in use. It works, but when it comes back it is using about 7W
> more than before going to sleep.
>
> It looks like a6ed2035878e5ad2e43ed175d8812ac9399d6c40 is the
> culprit. The system doesn't even support S3:
>
> % cat /sys/power/mem_sleep
> [s2idle]
>
> And looks like the vendor decided that they should not define
> ACPI_FADT_LOW_POWER_S0. The MB is a Gigabyte B550I AORUS PRO AX with
> bios version F16e.
>
> Which systems had crashes when ACPI_FADT_LOW_POWER_S0 was not defined?
> Would it be possible to limit the check only to those systems or at
> least only to systems that have S3?
>
> I can build the amdgpu module without that check and see if the problem
> goes away if that would help.
>
> Thanks,
> Rafael