From: Oleksandr Mikriukov <mikriukov.oleksandr@gmail.com>
To: amd-gfx@lists.freedesktop.org
Subject: [PATCH] drm/amd/display: Add DP power-up delay quirk for LG SMARTGAME+ (32G810SA)
Date: Mon, 23 Nov 2026 21:21:09 +0200 [thread overview]
Message-ID: <27f45723-ea21-4696-9aae-2ecdc47aa37e@gmail.com> (raw)
(Resend: the first attempt was held for moderation because the sender
was not subscribed to the list at that time.)
The LG 32G810SA-WB only starts answering AUX about 2 seconds after
leaving D3. With the default four 8b/10b link-training attempts
(4 x 50 ms, ~1 s total) the driver gives up while the sink is still
waking, logs "enabling link 1 failed: 15" and the compositor drops the
output; the display then stays black after a DPMS wake until it is
power-cycled on its own panel.
A second stream enable a moment later trains fine, so this is a timing
race against the sink's wake-up latency. The EDID quirk table already
carries a multi-second delay for another panel, so reuse
dc_panel_patch.dppowerup_delay for this sink.
Reported and diagnosed in:
https://gitlab.freedesktop.org/drm/amd/-/work_items/6193
Signed-off-by: Oleksandr Mikriukov <mikriukov.oleksandr@gmail.com>
---
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
@@ -112,2 +112,13 @@
break;
+ /* LG SMARTGAME+ (32G810SA-WB): the DP receiver answers AUX only
+ * ~2 s after leaving D3; with four 8b/10b retries (~1 s) link
+ * training gives up while the sink is still waking, the
+ * connector is reported disconnected and the output stays black.
+ */
+ case drm_edid_encode_panel_id('G', 'S', 'M', 0x77dd):
+ drm_dbg_driver(dev,
+ "Add 2s DP power-up delay for panel id %X\n",
+ panel_id);
+ edid_caps->panel_patch.dppowerup_delay = 2000;
+ break;
/* Workaround for some monitors which does not work well with FAMS */
next reply other threads:[~2026-11-23 19:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 19:21 Oleksandr Mikriukov [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-23 16:26 [PATCH] drm/amd/display: Add DP power-up delay quirk for LG SMARTGAME+ (32G810SA) Oleksandr Mikriukov
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=27f45723-ea21-4696-9aae-2ecdc47aa37e@gmail.com \
--to=mikriukov.oleksandr@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.