Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Support UHBR10 link rate on eDP

[why]
Supporting UHBR10 link rate on eDP leverages
the existing DP2.0 code but need to add some small
adjustments in code.

[how]
Acknowledge the given DPCD caps for UHBR10
link rate support and allow DP2.0 programming
sequence and link training for eDP.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Sung Joon Kim <Sungjoon.Kim@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Sung Joon Kim and committed by
Alex Deucher
f3271893 272e6aab

+18 -13
+1
drivers/gpu/drm/amd/display/dc/dc.h
··· 1760 1760 bool dongle_mode_timing_override; 1761 1761 bool blank_stream_on_ocs_change; 1762 1762 bool read_dpcd204h_on_irq_hpd; 1763 + bool disable_assr_for_uhbr; 1763 1764 } wa_flags; 1764 1765 struct link_mst_stream_allocation_table mst_stream_alloc_table; 1765 1766
+12 -11
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
··· 1232 1232 * has changed or they enter protection state and hang. 1233 1233 */ 1234 1234 msleep(60); 1235 - } else if (pipe_ctx->stream->signal == SIGNAL_TYPE_EDP) { 1236 - if (!link->dc->config.edp_no_power_sequencing) { 1237 - /* 1238 - * Sometimes, DP receiver chip power-controlled externally by an 1239 - * Embedded Controller could be treated and used as eDP, 1240 - * if it drives mobile display. In this case, 1241 - * we shouldn't be doing power-sequencing, hence we can skip 1242 - * waiting for T9-ready. 1243 - */ 1244 - link->dc->link_srv->edp_receiver_ready_T9(link); 1245 - } 1246 1235 } 1236 + } 1237 + 1238 + if (pipe_ctx->stream->signal == SIGNAL_TYPE_EDP && 1239 + !link->dc->config.edp_no_power_sequencing) { 1240 + /* 1241 + * Sometimes, DP receiver chip power-controlled externally by an 1242 + * Embedded Controller could be treated and used as eDP, 1243 + * if it drives mobile display. In this case, 1244 + * we shouldn't be doing power-sequencing, hence we can skip 1245 + * waiting for T9-ready. 1246 + */ 1247 + link->dc->link_srv->edp_receiver_ready_T9(link); 1247 1248 } 1248 1249 1249 1250 }