* [PATCH 0/2] drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ
@ 2026-06-10 17:48 Alexander Kaplan
2026-06-10 17:48 ` [PATCH 1/2] drm/dp: Add quirk for Synaptics PCONs failing channel EQ at RBR Alexander Kaplan
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Alexander Kaplan @ 2026-06-10 17:48 UTC (permalink / raw)
To: dri-devel, intel-gfx, intel-xe
Cc: Imre Deak, Ville Syrjälä, Ankit Nautiyal,
Maarten Lankhorst, Jani Nikula, Rodrigo Vivi, alexander.kaplan
Synaptics VMM7100 based DP-to-HDMI 2.1 protocol converters with branch
firmware 7.1 (branch dev-ID "SYNAq") deterministically fail 8b/10b
channel equalization at the 4-lane RBR link configuration.
i915's link config optimization picks exactly that configuration for
low resolution modes (e.g. a 1080p boot greeter), and the resulting
training fallback permanently degrades the link to 2 lanes, since
these PCONs never raise a long HPD that would re-sync the link
parameters.
On the affected system this capped a 4k60 desktop mode at 6 bpc
dithered output.
The failure was isolated to the converter firmware by training the
full rate x lane matrix via debugfs and by comparing two dongles
based on the same VMM7100 chip (HW-rev 1.0): branch firmware 7.1
fails 4-lane RBR, firmware 7.2 trains it fine.
Only 4-lane RBR fails.
Clock recovery passes, channel equalization never converges with the
device toggling its requested vswing/pre-emphasis levels until the
attempt limit.
The Intel source PHY and the board's non-transparent LTTPR grant all
requests during the failing sequence.
Windows and macOS are unaffected as they don't train low resolution
modes at RBR.
Patch 1 adds a DPCD quirk entry for these devices.
The matching can't distinguish firmware revisions, so devices with
fixed firmware are matched as well, which is free since any mode
that fits RBR also fits HBR.
Patch 2 makes i915 skip RBR for quirked devices when computing the
sink rates, unless RBR is the only available rate, so a hypothetical
RBR-only device keeps its current behavior.
The quirk itself lives in the shared DPCD quirk table, so other
drivers can handle it as well if needed.
Link rate selection is driver specific, hence the handling is
implemented in i915 (the only current consumer of the table's link
rate quirks, cf. DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS).
Tested on PTL (xe) with the affected PCON: the boot greeter now
trains 2x270000, no training failure or fallback occurs, and the
4k60 desktop mode trains 4x810000 from boot.
This series is part of a set of independent fixes for the USB-C to
DP to HDMI 2.1 protocol converter (PCON) path on the same system,
see the first part [1] for an overview.
Each series/patch stands on its own and can be merged independently.
[1] https://lore.kernel.org/r/20260610174413.5881-1-alexander.kaplan@sms-medipool.de
Alexander Kaplan (2):
drm/dp: Add quirk for Synaptics PCONs failing channel EQ at RBR
drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk
drivers/gpu/drm/display/drm_dp_helper.c | 3 +++
drivers/gpu/drm/i915/display/intel_dp.c | 23 +++++++++++++++++------
include/drm/display/drm_dp_helper.h | 8 ++++++++
3 files changed, 28 insertions(+), 6 deletions(-)
--
2.54.0
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH 1/2] drm/dp: Add quirk for Synaptics PCONs failing channel EQ at RBR 2026-06-10 17:48 [PATCH 0/2] drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ Alexander Kaplan @ 2026-06-10 17:48 ` Alexander Kaplan 2026-06-10 17:48 ` [PATCH 2/2] drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk Alexander Kaplan 2026-06-10 18:46 ` ✗ LGCI.VerificationFailed: failure for drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ Patchwork 2 siblings, 0 replies; 6+ messages in thread From: Alexander Kaplan @ 2026-06-10 17:48 UTC (permalink / raw) To: dri-devel, intel-gfx, intel-xe Cc: Imre Deak, Ville Syrjälä, Ankit Nautiyal, Maarten Lankhorst, Jani Nikula, Rodrigo Vivi, alexander.kaplan Synaptics VMM7100 DP-to-HDMI 2.1 protocol converters with branch firmware 7.1 (branch dev-ID "SYNAq", FW revision at DPCD 0x50a/0x50b) deterministically fail 8b/10b channel equalization when link training at the RBR link rate with 4 lanes. Clock recovery succeeds, but during channel equalization the device keeps toggling its requested voltage swing/pre-emphasis levels without ever converging, until the 5 attempt limit is reached. Only this link configuration fails. RBR with 1 or 2 lanes and all higher link rates with 2 or 4 lanes train reliably. A second dongle based on the same VMM7100 chip (same HW-rev 1.0) but with branch firmware 7.2 trains 4-lane RBR without issue, so this is a firmware problem in the converter, fixed by newer firmware. The failure was observed on PTL behind the board's non-transparent LTTPR, with the source granting all swing/pre-emphasis requests. Add a quirk entry for these devices, so that drivers can avoid the RBR link rate for them. The quirk matching can't distinguish firmware revisions, so devices with fixed firmware are matched as well. Avoiding RBR is free for these PCONs, since any mode that fits into the RBR link bandwidth also fits into HBR, which they train reliably. The quirk will be handled by the i915 driver in a follow-up change. Cc: dri-devel@lists.freedesktop.org Signed-off-by: Alexander Kaplan <alexander.kaplan@sms-medipool.de> --- drivers/gpu/drm/display/drm_dp_helper.c | 3 +++ include/drm/display/drm_dp_helper.h | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/drivers/gpu/drm/display/drm_dp_helper.c b/drivers/gpu/drm/display/drm_dp_helper.c index 9c31e14cc413..a8737943ef11 100644 --- a/drivers/gpu/drm/display/drm_dp_helper.c +++ b/drivers/gpu/drm/display/drm_dp_helper.c @@ -2558,6 +2558,9 @@ static const struct dpcd_quirk dpcd_quirk_list[] = { { OUI(0x90, 0xCC, 0x24), DEVICE_ID('S', 'Y', 'N', 'A', 0x53, 0x22), true, BIT(DP_DPCD_QUIRK_DSC_THROUGHPUT_BPP_LIMIT) }, { OUI(0x90, 0xCC, 0x24), DEVICE_ID('S', 'Y', 'N', 'A', 0x53, 0x31), true, BIT(DP_DPCD_QUIRK_DSC_THROUGHPUT_BPP_LIMIT) }, { OUI(0x90, 0xCC, 0x24), DEVICE_ID('S', 'Y', 'N', 'A', 0x53, 0x33), true, BIT(DP_DPCD_QUIRK_DSC_THROUGHPUT_BPP_LIMIT) }, + /* Synaptics VMM7100 DP-to-HDMI 2.1 PCONs fail channel EQ at the RBR link rate */ + { OUI(0x90, 0xCC, 0x24), DEVICE_ID('S', 'Y', 'N', 'A', 'q', '\0'), true, + BIT(DP_DPCD_QUIRK_NO_LINK_RATE_RBR) }, }; #undef OUI diff --git a/include/drm/display/drm_dp_helper.h b/include/drm/display/drm_dp_helper.h index 8c2d77a032f0..324197894300 100644 --- a/include/drm/display/drm_dp_helper.h +++ b/include/drm/display/drm_dp_helper.h @@ -863,6 +863,14 @@ enum drm_dp_quirk { * specific DSC pixel throughput. */ DP_DPCD_QUIRK_DSC_THROUGHPUT_BPP_LIMIT, + /** + * @DP_DPCD_QUIRK_NO_LINK_RATE_RBR: + * + * The device fails 8b/10b channel equalization at the RBR link + * rate, but trains reliably at all higher link rates. Drivers + * should avoid the RBR link rate for these devices. + */ + DP_DPCD_QUIRK_NO_LINK_RATE_RBR, }; /** -- 2.54.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk 2026-06-10 17:48 [PATCH 0/2] drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ Alexander Kaplan 2026-06-10 17:48 ` [PATCH 1/2] drm/dp: Add quirk for Synaptics PCONs failing channel EQ at RBR Alexander Kaplan @ 2026-06-10 17:48 ` Alexander Kaplan 2026-06-11 14:25 ` Imre Deak 2026-06-10 18:46 ` ✗ LGCI.VerificationFailed: failure for drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ Patchwork 2 siblings, 1 reply; 6+ messages in thread From: Alexander Kaplan @ 2026-06-10 17:48 UTC (permalink / raw) To: dri-devel, intel-gfx, intel-xe Cc: Imre Deak, Ville Syrjälä, Ankit Nautiyal, Maarten Lankhorst, Jani Nikula, Rodrigo Vivi, alexander.kaplan Synaptics VMM7100 PCONs with branch firmware 7.1 deterministically fail 8b/10b channel equalization at the 4-lane RBR link configuration (see the preceding commit adding DP_DPCD_QUIRK_NO_LINK_RATE_RBR). The link config computation optimizes for the minimum link rate, so it picks exactly this failing configuration for low resolution modes. E.g. a 1080p60 boot greeter computes to 4x162000. The resulting link training failure makes the fallback logic reduce the link parameters, and since the rate is already at its minimum, the lane count is halved to 2. The reduced intel_dp->link.max_lane_count then sticks: these PCONs hold HPD high and never raise the long HPD that would re-sync the link parameters via intel_dp_reset_link_params(). On the affected system the boot greeter thus permanently capped the link at 2 lanes, limiting the subsequent 3840x2160@60 desktop mode to 6 bpc dithered output instead of the deep color modes the setup is capable of with 4 lanes. Skip RBR when computing the sink rates of a device with the NO_LINK_RATE_RBR quirk, unless RBR is the only available rate. Any mode that fits into the RBR link bandwidth also fits into HBR at the same lane count, so no mode support is lost. With the quirk applied the greeter trains 2x270000 and the 4k60 desktop mode 4x810000, verified on PTL (xe) with an affected PCON. Signed-off-by: Alexander Kaplan <alexander.kaplan@sms-medipool.de> --- drivers/gpu/drm/i915/display/intel_dp.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index 85d3aa3b9894..dec68f07161e 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -197,7 +197,8 @@ static void intel_dp_set_dpcd_sink_rates(struct intel_dp *intel_dp) static const int dp_rates[] = { 162000, 270000, 540000, 810000 }; - int i, max_rate; + int i, num_rates = 0; + int max_rate; int max_lttpr_rate; if (drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS)) { @@ -221,7 +222,17 @@ static void intel_dp_set_dpcd_sink_rates(struct intel_dp *intel_dp) for (i = 0; i < ARRAY_SIZE(dp_rates); i++) { if (dp_rates[i] > max_rate) break; - intel_dp->sink_rates[i] = dp_rates[i]; + + /* + * The quirked devices fail channel equalization at RBR, but + * train reliably at all higher rates. Skip RBR, unless it's + * the only available rate. + */ + if (dp_rates[i] == 162000 && max_rate >= 270000 && + drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_NO_LINK_RATE_RBR)) + continue; + + intel_dp->sink_rates[num_rates++] = dp_rates[i]; } /* @@ -252,14 +263,14 @@ static void intel_dp_set_dpcd_sink_rates(struct intel_dp *intel_dp) } if (uhbr_rates & DP_UHBR10) - intel_dp->sink_rates[i++] = 1000000; + intel_dp->sink_rates[num_rates++] = 1000000; if (uhbr_rates & DP_UHBR13_5) - intel_dp->sink_rates[i++] = 1350000; + intel_dp->sink_rates[num_rates++] = 1350000; if (uhbr_rates & DP_UHBR20) - intel_dp->sink_rates[i++] = 2000000; + intel_dp->sink_rates[num_rates++] = 2000000; } - intel_dp->num_sink_rates = i; + intel_dp->num_sink_rates = num_rates; } static void intel_dp_set_sink_rates(struct intel_dp *intel_dp) -- 2.54.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk 2026-06-10 17:48 ` [PATCH 2/2] drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk Alexander Kaplan @ 2026-06-11 14:25 ` Imre Deak 2026-06-11 15:20 ` Alexander Kaplan 0 siblings, 1 reply; 6+ messages in thread From: Imre Deak @ 2026-06-11 14:25 UTC (permalink / raw) To: Alexander Kaplan Cc: dri-devel, intel-gfx, intel-xe, Ville Syrjälä, Ankit Nautiyal, Maarten Lankhorst, Jani Nikula, Rodrigo Vivi On Wed, Jun 10, 2026 at 07:48:07PM +0200, Alexander Kaplan wrote: > Synaptics VMM7100 PCONs with branch firmware 7.1 deterministically > fail 8b/10b channel equalization at the 4-lane RBR link configuration > (see the preceding commit adding DP_DPCD_QUIRK_NO_LINK_RATE_RBR). > > The link config computation optimizes for the minimum link rate, so > it picks exactly this failing configuration for low resolution modes. > E.g. a 1080p60 boot greeter computes to 4x162000. > The resulting link training failure makes the fallback logic reduce > the link parameters, and since the rate is already at its minimum, > the lane count is halved to 2. > The reduced intel_dp->link.max_lane_count then sticks: these PCONs > hold HPD high and never raise the long HPD that would re-sync the > link parameters via intel_dp_reset_link_params(). > On the affected system the boot greeter thus permanently capped the > link at 2 lanes, limiting the subsequent 3840x2160@60 desktop mode to > 6 bpc dithered output instead of the deep color modes the setup is > capable of with 4 lanes. > > Skip RBR when computing the sink rates of a device with the > NO_LINK_RATE_RBR quirk, unless RBR is the only available rate. > Any mode that fits into the RBR link bandwidth also fits into HBR at > the same lane count, so no mode support is lost. > With the quirk applied the greeter trains 2x270000 and the 4k60 > desktop mode 4x810000, verified on PTL (xe) with an affected PCON. Thanks for the tests and root causing of the issue. I think the right solution to avoid using a problematic link configuartion is to rely on the existing mechanism which is the link training fallback logic. A quirk in this patch would add another way, which is less generic and would potentially disable the link config on a non-affected device as well (I did read your test results above, but I still think it's possible that another device would use the same OUI/device ID without this issue). The existing link training fallback logic in the driver does have the problem that you describe above: after a link training failure with a given link config, a set of link configurations will be disabled for subsequent modesets, where these disabled link configs haven't been tried yet and so could still work fine. That issue should be fixed in the link training fallback logic, by disabling only the link configuration which has failed. That in turn needs more changes, which could be done after [1] is merged, the rationale for that and more details described in the cover letter of the same patchset. One way to force a (minimum) link rate (until the above issue is addressed in the fallback code) is to use the i915_dp_force_link_rate debugfs entry. [1] https://lore.kernel.org/all/20260428125233.1664668-1-imre.deak@intel.com > Signed-off-by: Alexander Kaplan <alexander.kaplan@sms-medipool.de> > --- > drivers/gpu/drm/i915/display/intel_dp.c | 23 +++++++++++++++++------ > 1 file changed, 17 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c > index 85d3aa3b9894..dec68f07161e 100644 > --- a/drivers/gpu/drm/i915/display/intel_dp.c > +++ b/drivers/gpu/drm/i915/display/intel_dp.c > @@ -197,7 +197,8 @@ static void intel_dp_set_dpcd_sink_rates(struct intel_dp *intel_dp) > static const int dp_rates[] = { > 162000, 270000, 540000, 810000 > }; > - int i, max_rate; > + int i, num_rates = 0; > + int max_rate; > int max_lttpr_rate; > > if (drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS)) { > @@ -221,7 +222,17 @@ static void intel_dp_set_dpcd_sink_rates(struct intel_dp *intel_dp) > for (i = 0; i < ARRAY_SIZE(dp_rates); i++) { > if (dp_rates[i] > max_rate) > break; > - intel_dp->sink_rates[i] = dp_rates[i]; > + > + /* > + * The quirked devices fail channel equalization at RBR, but > + * train reliably at all higher rates. Skip RBR, unless it's > + * the only available rate. > + */ > + if (dp_rates[i] == 162000 && max_rate >= 270000 && > + drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_NO_LINK_RATE_RBR)) > + continue; > + > + intel_dp->sink_rates[num_rates++] = dp_rates[i]; > } > > /* > @@ -252,14 +263,14 @@ static void intel_dp_set_dpcd_sink_rates(struct intel_dp *intel_dp) > } > > if (uhbr_rates & DP_UHBR10) > - intel_dp->sink_rates[i++] = 1000000; > + intel_dp->sink_rates[num_rates++] = 1000000; > if (uhbr_rates & DP_UHBR13_5) > - intel_dp->sink_rates[i++] = 1350000; > + intel_dp->sink_rates[num_rates++] = 1350000; > if (uhbr_rates & DP_UHBR20) > - intel_dp->sink_rates[i++] = 2000000; > + intel_dp->sink_rates[num_rates++] = 2000000; > } > > - intel_dp->num_sink_rates = i; > + intel_dp->num_sink_rates = num_rates; > } > > static void intel_dp_set_sink_rates(struct intel_dp *intel_dp) > -- > 2.54.0 > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk 2026-06-11 14:25 ` Imre Deak @ 2026-06-11 15:20 ` Alexander Kaplan 0 siblings, 0 replies; 6+ messages in thread From: Alexander Kaplan @ 2026-06-11 15:20 UTC (permalink / raw) To: Imre Deak Cc: dri-devel, intel-gfx, intel-xe, Ville Syrjälä, Ankit Nautiyal, Maarten Lankhorst, Jani Nikula, Rodrigo Vivi, alexander.kaplan On Thu, Jun 11, 2026 at 05:25:49PM +0300, Imre Deak wrote: > Thanks for the tests and root causing of the issue. > > I think the right solution to avoid using a problematic link > configuartion is to rely on the existing mechanism which is the link > training fallback logic. A quirk in this patch would add another way, > which is less generic and would potentially disable the link config on a > non-affected device as well (I did read your test results above, but I > still think it's possible that another device would use the same > OUI/device ID without this issue). Hi Imre, thanks for the review, that is a fair point. I agree that the fallback logic is the better place for this and I am dropping the series. I read the cover letter of [1]. If I understand the plan correctly, the follow-up switch to a bandwidth ordered configuration selection would already avoid the greeter case described here. A 1080p60 mode would then pick a 5.4 Gbps configuration such as 2x270000 instead of the 6.48 Gbps 4x162000, and 2x270000 is what the device trains today with the quirk applied. The remaining modes that still compute to 4x162000 would fail training once and then be handled by the per-configuration fallback. That fully covers this device, so nothing is lost by dropping the quirk. Until then carrying the patch locally works fine for me. One offer regarding testing. This PCON fails channel equalization at 4x RBR deterministically on every boot, so I have a reliable reproducer for the fallback paths on PTL with the xe driver. Feel free to ping me whenever the fallback rework or any other part of the series could use a Tested-by on real failing hardware. [1] https://lore.kernel.org/all/20260428125233.1664668-1-imre.deak@intel.com Thanks, Alex ^ permalink raw reply [flat|nested] 6+ messages in thread
* ✗ LGCI.VerificationFailed: failure for drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ 2026-06-10 17:48 [PATCH 0/2] drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ Alexander Kaplan 2026-06-10 17:48 ` [PATCH 1/2] drm/dp: Add quirk for Synaptics PCONs failing channel EQ at RBR Alexander Kaplan 2026-06-10 17:48 ` [PATCH 2/2] drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk Alexander Kaplan @ 2026-06-10 18:46 ` Patchwork 2 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2026-06-10 18:46 UTC (permalink / raw) To: Alexander Kaplan; +Cc: intel-xe == Series Details == Series: drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ URL : https://patchwork.freedesktop.org/series/168278/ State : failure == Summary == Series author address 'alexander.kaplan@sms-medipool.de' is not on the allowlist, which prevents CI from being automatically triggered. If you want CI to run for this series, ask Patchwork project owners to click 'retest' on the series in Patchwork. Exception occurred during validation, bailing out! Build URL: http://intel-gfx-ci-public.igk.intel.com:8080/job/xe_pw_trigger/1185533/ (on master) ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-06-11 15:20 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-06-10 17:48 [PATCH 0/2] drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ Alexander Kaplan 2026-06-10 17:48 ` [PATCH 1/2] drm/dp: Add quirk for Synaptics PCONs failing channel EQ at RBR Alexander Kaplan 2026-06-10 17:48 ` [PATCH 2/2] drm/i915/dp: Skip RBR for sinks with the NO_LINK_RATE_RBR quirk Alexander Kaplan 2026-06-11 14:25 ` Imre Deak 2026-06-11 15:20 ` Alexander Kaplan 2026-06-10 18:46 ` ✗ LGCI.VerificationFailed: failure for drm/dp: Avoid RBR on Synaptics VMM7100 PCONs failing channel EQ Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox