From: Mario Limonciello <superm1@kernel.org>
To: sunpeng.li@amd.com, amd-gfx@lists.freedesktop.org
Cc: Harry.Wentland@amd.com, wiagn233@outlook.com,
sysdadmin@m1k.cloud, timur.kristof@gmail.com, xaver.hugl@kde.org,
mario.kleiner.de@gmail.com, michel.daenzer@mailbox.org,
matthew.schwartz@linux.dev, chris@kode54.net
Subject: Re: [PATCH v3 0/3] Fixes for flip_done timed outs and PSR/Replay corruption
Date: Wed, 1 Jul 2026 16:09:32 -0500 [thread overview]
Message-ID: <8c010f6b-c55c-4310-8c91-cc16dfeab283@kernel.org> (raw)
In-Reply-To: <20260630180301.362070-1-sunpeng.li@amd.com>
On 6/30/26 13:02, sunpeng.li@amd.com wrote:
> From: Leo Li <sunpeng.li@amd.com>
>
> v1 here:
> https://lore.kernel.org/amd-gfx/20260616201828.389985-1-sunpeng.li@amd.com/
> v2 here:
> https://lore.kernel.org/amd-gfx/20260622171752.73374-1-sunpeng.li@amd.com/
>
> Summary of changes since v2:
>
> * Fixed a regression in kms_vrr@flip-basic, which exposed a scenario in
> optimistic event delivery where wrong vblank timestamps were attached.
> See new docstrings in patch 2/3 for details.
> * Readability cleanups in patch 2/3, thanks Michel!
>
> v7.0.y based branch here (drops the revert and resolves merge conflicts
> due to recent refactor of IRQ handlers from amdgpu_dm.c into
> amdgpu_dm_irq.c):
> https://gitlab.freedesktop.org/leoli/linux-asdn/-/commits/lileo/flip_done_timeout_corruption_fixes?ref_type=heads
>
> A Note on LLM use:
>
> Claude helped with code plumbing and IGT testing. The effort of
> reporting, debugging, spinning up fixes, and testing them, were from
> humans. Kudos to individuals who collaborated on the amd-gfx mailing
> list, gitlab, 2026 Display Hackfest, and AMD internal chats, to finally
> nail down a fix.
>
Having been one of those being able to readily reproduce issues at the
hackfest with PSR I'm happy to report that I tested a backport of this
series on a clean 7.2-rc1 where I don't observe any issues. Due to
changes in the codebase it's not purely the same as your content headed
to drm-next.
The branch of what I tested is here though if anyone else would like to
test on 7.2 as well.
https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git/log/?h=lileo/flip_done_timeout_corruption_fixes-7.2
So my tag isn't purely this series, but I guess at least close enough
with the backport if you want to carry it forward.
Tested-by: Mario Limonciello (AMD) <superm1@kernel.org>
Also as I reviewed the series nothing stands out to me, you obviously
know this part of the code base better than anyone though.
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Since I had a hard time applying this even to 7.2, I suspect after we
land this we'll need to do some custom/manual backports for each of the
applicable stable series at the time it actually lands in mainline.
>
> Leo Li (3):
> drm/amd/display: consolidate DCN vblank/flip handling onto
> vupdate_no_lock
> drm/amd/display: check GRPH_FLIP status before sending event
> Revert "drm/amd/display: Restore 5s vbl offdelay for NV3x+ DGPUs"
>
> .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 234 +++++++++++---
> .../amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 70 ++--
> .../drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 299 +++++++++---------
> drivers/gpu/drm/amd/display/dc/core/dc.c | 45 +++
> drivers/gpu/drm/amd/display/dc/dc.h | 1 +
> 5 files changed, 417 insertions(+), 232 deletions(-)
>
> --
> 2.54.0
>
prev parent reply other threads:[~2026-07-01 21:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 18:02 [PATCH v3 0/3] Fixes for flip_done timed outs and PSR/Replay corruption sunpeng.li
2026-06-30 18:02 ` [PATCH v3 1/3] drm/amd/display: consolidate DCN vblank/flip handling onto vupdate_no_lock sunpeng.li
2026-06-30 18:03 ` [PATCH v3 2/3] drm/amd/display: check GRPH_FLIP status before sending event sunpeng.li
2026-06-30 18:03 ` [PATCH v3 3/3] Revert "drm/amd/display: Restore 5s vbl offdelay for NV3x+ DGPUs" sunpeng.li
2026-07-01 21:09 ` Mario Limonciello [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c010f6b-c55c-4310-8c91-cc16dfeab283@kernel.org \
--to=superm1@kernel.org \
--cc=Harry.Wentland@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=chris@kode54.net \
--cc=mario.kleiner.de@gmail.com \
--cc=matthew.schwartz@linux.dev \
--cc=michel.daenzer@mailbox.org \
--cc=sunpeng.li@amd.com \
--cc=sysdadmin@m1k.cloud \
--cc=timur.kristof@gmail.com \
--cc=wiagn233@outlook.com \
--cc=xaver.hugl@kde.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox