From: "Timur Kristóf" <timur.kristof@gmail.com>
To: amd-gfx@lists.freedesktop.org
Cc: "Timur Kristóf" <timur.kristof@gmail.com>
Subject: [PATCH 0/3] DC: Fix page flip timeouts on DCE 6
Date: Sat, 2 Aug 2025 18:05:59 +0200 [thread overview]
Message-ID: <20250802160602.12698-1-timur.kristof@gmail.com> (raw)
Currently when using DC on DCE 6, it produces a page flip timeout
after a suspend/resume.
After some investigation, it turns out that the issue is because
DC uses different interrupts between DCE 6 and newer HW versions,
and it assumes that the VUPDATE interrupt is always present, when
in fact it's not. It also assumes that the HW is capable of VRR
when a VRR capable monitor is plugged in, when in fact this is
not the case.
This series marks VRR as unsupported on DCE 6 even when a VRR
capable monitor is plugged in. Furthermore, it fixes the code
trying to access the unregistered VUPDATE interrupt.
As a side note, I also attempted to actually use the same
interrupts as newer DCE versions, but this didn't work.
Apparently DCE 6 was not advertised with VRR support anyway.
Finally, there is also a patch to disable fast boot mode
on DCE 6. The rationale is that this already didn't work
on DCE 8, and even if it did I have no means to test it.
Timur Kristóf (3):
drm/amd/display: Disable fastboot on DCE 6 too.
drm/amd/display: Disable VRR on DCE 6
drm/amd/display: Don't use non-registered VUPDATE on DCE 6
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 26 ++++++++++++-------
.../amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 16 +++++++-----
drivers/gpu/drm/amd/display/dc/dc_helper.c | 5 ++++
drivers/gpu/drm/amd/display/dc/dm_services.h | 2 ++
.../amd/display/dc/hwss/dce110/dce110_hwseq.c | 6 ++---
5 files changed, 35 insertions(+), 20 deletions(-)
--
2.50.1
next reply other threads:[~2025-08-02 16:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-02 16:05 Timur Kristóf [this message]
2025-08-02 16:06 ` [PATCH 1/3] drm/amd/display: Disable fastboot on DCE 6 too Timur Kristóf
2025-08-12 21:09 ` Rodrigo Siqueira
2025-08-02 16:06 ` [PATCH 2/3] drm/amd/display: Disable VRR on DCE 6 Timur Kristóf
2025-08-12 21:23 ` Rodrigo Siqueira
2025-08-12 21:25 ` Rodrigo Siqueira
2025-08-02 16:06 ` [PATCH 3/3] drm/amd/display: Don't use non-registered VUPDATE " Timur Kristóf
2025-08-12 21:29 ` Rodrigo Siqueira
2025-08-18 20:11 ` Alex Hung
2025-08-18 20:30 ` Alex Deucher
2025-08-18 22:01 ` Timur Kristóf
2025-08-18 22:03 ` Alex Deucher
2025-08-18 22:38 ` Alex Hung
2025-08-04 15:50 ` [PATCH 0/3] DC: Fix page flip timeouts " Alex Deucher
2025-08-18 3:04 ` Alex Hung
2025-08-18 17:03 ` Alex Deucher
2025-08-18 17:11 ` Hung, Alex
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=20250802160602.12698-1-timur.kristof@gmail.com \
--to=timur.kristof@gmail.com \
--cc=amd-gfx@lists.freedesktop.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 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.