mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 00:17:40 +07:00
drm/amd/display: add monitor patch for delay after DP receive power up
Signed-off-by: Martin Tsai <martin.tsai@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
fa4d6d8e51
commit
b686ee20a9
@ -1260,6 +1260,12 @@ static enum dc_status enable_link_dp(
|
||||
pipe_ctx->clock_source->id,
|
||||
&link_settings);
|
||||
|
||||
if (stream->sink->edid_caps.panel_patch.dppowerup_delay > 0) {
|
||||
int delay_dp_power_up_in_ms = stream->sink->edid_caps.panel_patch.dppowerup_delay;
|
||||
|
||||
msleep(delay_dp_power_up_in_ms);
|
||||
}
|
||||
|
||||
panel_mode = dp_get_panel_mode(link);
|
||||
dpcd_configure_panel_mode(link, panel_mode);
|
||||
|
||||
|
@ -195,6 +195,7 @@ union display_content_support {
|
||||
|
||||
struct dc_panel_patch {
|
||||
unsigned int disconnect_delay;
|
||||
unsigned int dppowerup_delay;
|
||||
};
|
||||
|
||||
struct dc_edid_caps {
|
||||
|
Loading…
Reference in New Issue
Block a user