Skip to content
Snippets Groups Projects
Commit d30df55b authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/dp: sleep after powering up the display


According to the DP 1.1 spec, the sink must power
up within 1ms.  Noticed while reviewing Thierry's
drm/dp patches.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ab9f51c0
No related branches found
No related tags found
No related merge requests found
...@@ -673,9 +673,11 @@ static int radeon_dp_link_train_init(struct radeon_dp_link_train_info *dp_info) ...@@ -673,9 +673,11 @@ static int radeon_dp_link_train_init(struct radeon_dp_link_train_info *dp_info)
u8 tmp; u8 tmp;
/* power up the sink */ /* power up the sink */
if (dp_info->dpcd[0] >= 0x11) if (dp_info->dpcd[0] >= 0x11) {
radeon_write_dpcd_reg(dp_info->radeon_connector, radeon_write_dpcd_reg(dp_info->radeon_connector,
DP_SET_POWER, DP_SET_POWER_D0); DP_SET_POWER, DP_SET_POWER_D0);
usleep_range(1000, 2000);
}
/* possibly enable downspread on the sink */ /* possibly enable downspread on the sink */
if (dp_info->dpcd[3] & 0x1) if (dp_info->dpcd[3] & 0x1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment