All of lore.kernel.org
 help / color / mirror / Atom feed
* amdgpu: suspend-to-idle on a 4350G desktop
@ 2023-01-21 16:37 Rafael Ávila de Espíndola
  2023-01-23  2:31 ` Limonciello, Mario
       [not found] ` <MN0PR12MB6101F62407FB383609B2FB30E2CA9@MN0PR12MB6101.namprd12.prod.outlook.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Rafael Ávila de Espíndola @ 2023-01-21 16:37 UTC (permalink / raw)
  To: Mario Limonciello; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: amdgpu: suspend-to-idle on a 4350G desktop
  2023-01-21 16:37 amdgpu: suspend-to-idle on a 4350G desktop Rafael Ávila de Espíndola
@ 2023-01-23  2:31 ` Limonciello, Mario
       [not found] ` <MN0PR12MB6101F62407FB383609B2FB30E2CA9@MN0PR12MB6101.namprd12.prod.outlook.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Limonciello, Mario @ 2023-01-23  2:31 UTC (permalink / raw)
  To: Rafael Ávila de Espíndola; +Cc: linux-kernel

On 1/21/2023 10:37, Rafael Ávila de Espíndola wrote:
> 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

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

Thanks,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: amdgpu: suspend-to-idle on a 4350G desktop
       [not found] ` <MN0PR12MB6101F62407FB383609B2FB30E2CA9@MN0PR12MB6101.namprd12.prod.outlook.com>
@ 2023-01-23  9:03   ` Rafael Ávila de Espíndola
  2023-01-23 14:23   ` Rafael Ávila de Espíndola
  1 sibling, 0 replies; 4+ messages in thread
From: Rafael Ávila de Espíndola @ 2023-01-23  9:03 UTC (permalink / raw)
  To: Limonciello, Mario; +Cc: linux-kernel

Will do.

Thanks,
Rafael

"Limonciello, Mario" <Mario.Limonciello@amd.com> 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@espindo.la>
> Sent: Saturday, January 21, 2023 10:37:23 AM
> To: Limonciello, Mario <Mario.Limonciello@amd.com>
> Cc: linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: amdgpu: suspend-to-idle on a 4350G desktop
       [not found] ` <MN0PR12MB6101F62407FB383609B2FB30E2CA9@MN0PR12MB6101.namprd12.prod.outlook.com>
  2023-01-23  9:03   ` Rafael Ávila de Espíndola
@ 2023-01-23 14:23   ` Rafael Ávila de Espíndola
  1 sibling, 0 replies; 4+ messages in thread
From: Rafael Ávila de Espíndola @ 2023-01-23 14:23 UTC (permalink / raw)
  To: Limonciello, Mario; +Cc: linux-kernel


"Limonciello, Mario" <Mario.Limonciello@amd.com> writes:

> [AMD Official Use Only - General]
>
> Rafael,
>
> Can you please open a bug report here
> https://gitlab.freedesktop.org/drm/amd/-/issues

I reported the bug:
https://gitlab.freedesktop.org/drm/amd/-/issues/2364

Cheers,
Rafael

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-23 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-21 16:37 amdgpu: suspend-to-idle on a 4350G desktop Rafael Ávila de Espíndola
2023-01-23  2:31 ` Limonciello, Mario
     [not found] ` <MN0PR12MB6101F62407FB383609B2FB30E2CA9@MN0PR12MB6101.namprd12.prod.outlook.com>
2023-01-23  9:03   ` Rafael Ávila de Espíndola
2023-01-23 14:23   ` Rafael Ávila de Espíndola

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.