Skip to contentSkip to conversation

video: exynos_dp: Remove sink control to D0

PATCH Superseded Jingoo Han 1 participant 2 messages Nov 1, 2012

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH v3 6/8 video: exynos_dp: Remove sink control to D0

According to DP spec, it is not required in the Link Training procedure.

[[email protected]: modified the commit message]
---
 drivers/video/exynos/exynos_dp_core.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/video/exynos/exynos_dp_core.c +0 -6
index 8ab95c3..c2b6bf2 100644
@@ -277,12 +277,6 @@ static int exynos_dp_link_start(struct exynos_dp_device *dp)
 	for (lane = 0; lane < lane_count; lane++)
 		dp->link_train.cr_loop[lane] = 0;
 
-	/* Set sink to D0 (Sink Not Ready) mode. */
-	retval = exynos_dp_write_byte_to_dpcd(dp, DPCD_ADDR_SINK_POWER_STATE,
-			DPCD_SET_POWER_STATE_D0);
-	if (retval)
-		return retval;
-
 	/* Set link rate and count as you want to establish*/
 	exynos_dp_set_link_bandwidth(dp, dp->link_train.link_rate);
 	exynos_dp_set_lane_count(dp, dp->link_train.lane_count);
Signature · 1 line
1.7.1
author
#1 lore raw

PATCH v3 6/8 video: exynos_dp: Remove sink control to D0

From: Sean Paul <[email protected]>

According to DP spec, it is not required in the Link Training procedure.

[[email protected]: modified the commit message]

---
Add 'From: Sean Paul <[email protected]>'

 drivers/video/exynos/exynos_dp_core.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/video/exynos/exynos_dp_core.c +0 -6
index 8ab95c3..c2b6bf2 100644
@@ -277,12 +277,6 @@ static int exynos_dp_link_start(struct exynos_dp_device *dp)
 	for (lane = 0; lane < lane_count; lane++)
 		dp->link_train.cr_loop[lane] = 0;
 
-	/* Set sink to D0 (Sink Not Ready) mode. */
-	retval = exynos_dp_write_byte_to_dpcd(dp, DPCD_ADDR_SINK_POWER_STATE,
-			DPCD_SET_POWER_STATE_D0);
-	if (retval)
-		return retval;
-
 	/* Set link rate and count as you want to establish*/
 	exynos_dp_set_link_bandwidth(dp, dp->link_train.link_rate);
 	exynos_dp_set_lane_count(dp, dp->link_train.lane_count);
Signature · 1 line
1.7.1