[PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Mario Limonciello
DCN 3.1.4 s2idle entry will hang occasionally on s2idle entry, but only if running Wayland and only when using `systemctl suspend`, not `echo mem | tee /sys/power/state`. This happens because using `systemctl suspend` will cause the screen to lock right before writing mem into /sys/power/state. T

Re: [PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Lazar, Lijo
On 5/17/2023 5:04 AM, Mario Limonciello wrote: DCN 3.1.4 s2idle entry will hang occasionally on s2idle entry, but only if running Wayland and only when using `systemctl suspend`, not `echo mem | tee /sys/power/state`. This happens because using `systemctl suspend` will cause the screen to loc

Re: [PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Limonciello, Mario
On 5/16/2023 11:43 PM, Lazar, Lijo wrote: On 5/17/2023 5:04 AM, Mario Limonciello wrote: DCN 3.1.4 s2idle entry will hang occasionally on s2idle entry, but only if running Wayland and only when using `systemctl suspend`, not `echo mem | tee /sys/power/state`. This happens because using `syst

Re: [PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Lazar, Lijo
On 5/17/2023 10:25 AM, Limonciello, Mario wrote: On 5/16/2023 11:43 PM, Lazar, Lijo wrote: On 5/17/2023 5:04 AM, Mario Limonciello wrote: DCN 3.1.4 s2idle entry will hang occasionally on s2idle entry, but only if running Wayland and only when using `systemctl suspend`, not `echo mem | tee

Re: [PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Limonciello, Mario
On 5/17/2023 12:07 AM, Lazar, Lijo wrote: On 5/17/2023 10:25 AM, Limonciello, Mario wrote: On 5/16/2023 11:43 PM, Lazar, Lijo wrote: On 5/17/2023 5:04 AM, Mario Limonciello wrote: DCN 3.1.4 s2idle entry will hang occasionally on s2idle entry, but only if running Wayland and only when us

Re: [PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Lazar, Lijo
On 5/17/2023 10:46 AM, Limonciello, Mario wrote: On 5/17/2023 12:07 AM, Lazar, Lijo wrote: On 5/17/2023 10:25 AM, Limonciello, Mario wrote: On 5/16/2023 11:43 PM, Lazar, Lijo wrote: On 5/17/2023 5:04 AM, Mario Limonciello wrote: DCN 3.1.4 s2idle entry will hang occasionally on s2idle

Re: [PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Limonciello, Mario
On 5/17/2023 12:26 AM, Lazar, Lijo wrote: On 5/17/2023 10:46 AM, Limonciello, Mario wrote: On 5/17/2023 12:07 AM, Lazar, Lijo wrote: On 5/17/2023 10:25 AM, Limonciello, Mario wrote: On 5/16/2023 11:43 PM, Lazar, Lijo wrote: On 5/17/2023 5:04 AM, Mario Limonciello wrote: DCN 3.1.4 s

Re: [PATCH v2 0/3] Fix DCN 3.1.4 hangs on s2idle entry

2023-05-16 Thread Limonciello, Mario
I think we replaced this with golden timestamp value which doesn't require GFX register access. Ah yes; through 5591a051b86b ("drm/amdgpu: refine get gpu clock counter method") This wasn't part of the kernel this was originally reported on. I suspect this would significantly decrease the l