diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-15 02:49:49 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-15 02:49:49 +0000 |
commit | 96a929b65132043d2f27225f8bb6eb4769f18874 (patch) | |
tree | d0ffe0e6ff0ddfca497ca66a73fd58ddcf832d9a /sys | |
parent | 74885b83500fdc9beac0c24a9a258c87b5453773 (diff) |
drm/amd/display: Add delay to improve LTTPR UHBR interop
From Michael Strauss
479ccc2132171f7e711f8154408ec6106f6e1df3 in linux-6.6.y/6.6.46
10839ee6a977ed1f7d0f4deb29f2d7e5d1f2a9dd in mainline linux
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/amd/display/dc/link/hwss/link_hwss_hpo_fixed_vs_pe_retimer_dp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/amd/display/dc/link/hwss/link_hwss_hpo_fixed_vs_pe_retimer_dp.c b/sys/dev/pci/drm/amd/display/dc/link/hwss/link_hwss_hpo_fixed_vs_pe_retimer_dp.c index 710f190b4fe..664a3545c12 100644 --- a/sys/dev/pci/drm/amd/display/dc/link/hwss/link_hwss_hpo_fixed_vs_pe_retimer_dp.c +++ b/sys/dev/pci/drm/amd/display/dc/link/hwss/link_hwss_hpo_fixed_vs_pe_retimer_dp.c @@ -162,7 +162,12 @@ static void set_hpo_fixed_vs_pe_retimer_dp_link_test_pattern(struct dc_link *lin link_res->hpo_dp_link_enc->funcs->set_link_test_pattern( link_res->hpo_dp_link_enc, tp_params); } + link->dc->link_srv->dp_trace_source_sequence(link, DPCD_SOURCE_SEQ_AFTER_SET_SOURCE_PATTERN); + + // Give retimer extra time to lock before updating DP_TRAINING_PATTERN_SET to TPS1 + if (tp_params->dp_phy_pattern == DP_TEST_PATTERN_128b_132b_TPS1_TRAINING_MODE) + drm_msleep(30); } static void set_hpo_fixed_vs_pe_retimer_dp_lane_settings(struct dc_link *link, |