Re: [PATCH 7.1.y] drm/amd/display: check GRPH_FLIP status before sending event

Greg KH <[email protected]> Fri, 7 Aug 2026 11:20:03 +0200
Newsgroups org.freedesktop.lists.amd-gfx,org.kernel.vger.stable
Message-ID <2026080753-urgent-lend-f63d@gregkh>
On Thu, Jul 30, 2026 at 09:48:36AM -0400, Leo Li wrote:
> 
> 
> On 2026-07-29 22:40, Sasha Levin wrote:
> >> [PATCH 7.1.y] drm/amd/display: check GRPH_FLIP status before sending event
> > 
> > Thanks for the backports, but I'm going to hold both of these for now.
> > 
> > There are two unmerged Fixes: patches against 48ab86360af1 ("drm/amd/display:
> > check GRPH_FLIP status before sending event") on the list, and I can
> > reproduce a flip_done/login freeze on DCN 3.1.5 with 7.2-rc4, plus there is
> > your own Cc: stable follow-up on top.
> > 
> > Could you confirm which set you want stable to carry before I queue any of
> > it?  Once the follow-ups land in mainline I'm happy to take the whole thing
> > together for 7.1 and 6.18.
> > 
> 
> Hi Sasha,
> 
> There are a few more fixes that merged into 7.2-rc5, with one that is still in flight to mainline.
> Here's the --oneline list of everything:
> 
> In flight to mainline (SHA will change):
>     18e3dd9ef45c6 drm/amd/display: Exit idle optimizations before programming
> 
> In 7.2-rc5 mainline:
>     fbbaca9e20873 drm/amd/display: Fix missing DCE check in dm_gpureset_toggle_interrupts()
>     82730dba0cf9d drm/amd/display: Fix flip-done timeouts on mode1 reset
> 
> In 7.2-rc4:
>     f39283eab44fb Revert "drm/amd/display: Restore 5s vbl offdelay for NV3x+ DGPUs"
>     48ab86360af11 drm/amd/display: check GRPH_FLIP status before sending event
>     8382cd234981a drm/amd/display: consolidate DCN vblank/flip handling onto vupdate_no_lock
> 
> Note that the revert target for f39283eab44fb is not in 6.18 but is in 7.1.
> 
> The flip_done/login freeze that you're experiencing is likely fixed by the in-flight fix.
> Link to 7.2-rc5 rebased change: https://gitlab.freedesktop.org/leoli/linux-asdn/-/commit/18e3dd9ef45c6d1813ca1b629e294b151d38149a

So what are we supposed to do here?

totally confused,

greg k-h