Re: [PATCH] drm/amd/display: fix hibernate entry for DCN35+

2024-10-04 Thread Alex Deucher
On Fri, Oct 4, 2024 at 4:49 PM Hamza Mahfooz wrote: > > On 10/4/24 16:44, Alex Deucher wrote: > > On Fri, Oct 4, 2024 at 4:43 PM Hamza Mahfooz wrote: > >> > >> Since, two suspend-resume cycles are required to enter hibernate and, > >> since we only need to enable idle optimizations in the first c

Re: [PATCH] drm/amd/display: fix hibernate entry for DCN35+

2024-10-04 Thread Hamza Mahfooz
On 10/4/24 16:44, Alex Deucher wrote: On Fri, Oct 4, 2024 at 4:43 PM Hamza Mahfooz wrote: Since, two suspend-resume cycles are required to enter hibernate and, since we only need to enable idle optimizations in the first cycle (which is pretty much equivalent to s2idle). We can check in_s0ix,

Re: [PATCH] drm/amd/display: fix hibernate entry for DCN35+

2024-10-04 Thread Alex Deucher
On Fri, Oct 4, 2024 at 4:43 PM Hamza Mahfooz wrote: > > Since, two suspend-resume cycles are required to enter hibernate and, > since we only need to enable idle optimizations in the first cycle > (which is pretty much equivalent to s2idle). We can check in_s0ix, to > prevent the system from enter