From: Tony Cheng Date: Mon, 27 Mar 2017 16:39:22 +0000 (-0400) Subject: drm/amd/display: use CP2520-3 for PHY compliance automation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fcbb5ad3fef1ee8461150e7213806cbb46b6f076;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: use CP2520-3 for PHY compliance automation Signed-off-by: Tony Cheng Acked-by: Harry Wentland Reviewed-by: Hersen Wu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c index ed46e9aaf357..df116f86ab45 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c @@ -1405,6 +1405,9 @@ void dce110_link_encoder_dp_set_phy_pattern( case DP_TEST_PATTERN_CP2520_2: set_dp_phy_pattern_hbr2_compliance_cp2520_2(enc110, 2); break; + case DP_TEST_PATTERN_CP2520_3: + set_dp_phy_pattern_hbr2_compliance_cp2520_2(enc110, 3); + break; case DP_TEST_PATTERN_VIDEO_MODE: { set_dp_phy_pattern_passthrough_mode( enc110, param->dp_panel_mode); diff --git a/drivers/gpu/drm/amd/display/include/link_service_types.h b/drivers/gpu/drm/amd/display/include/link_service_types.h index b2326017e4c7..fe8b5144e03f 100644 --- a/drivers/gpu/drm/amd/display/include/link_service_types.h +++ b/drivers/gpu/drm/amd/display/include/link_service_types.h @@ -85,13 +85,13 @@ enum dp_test_pattern { DP_TEST_PATTERN_CP2520_1, DP_TEST_PATTERN_CP2520_2, DP_TEST_PATTERN_HBR2_COMPLIANCE_EYE = DP_TEST_PATTERN_CP2520_2, + DP_TEST_PATTERN_CP2520_3, /* Link Training Patterns */ DP_TEST_PATTERN_TRAINING_PATTERN1, DP_TEST_PATTERN_TRAINING_PATTERN2, DP_TEST_PATTERN_TRAINING_PATTERN3, DP_TEST_PATTERN_TRAINING_PATTERN4, - DP_TEST_PATTERN_CP2520_3 = DP_TEST_PATTERN_TRAINING_PATTERN4, DP_TEST_PATTERN_PHY_PATTERN_END = DP_TEST_PATTERN_TRAINING_PATTERN4, /* link test patterns*/