drm/amd/display: use CP2520-3 for PHY compliance automation
authorTony Cheng <tony.cheng@amd.com>
Mon, 27 Mar 2017 16:39:22 +0000 (12:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:21:24 +0000 (17:21 -0400)
Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
drivers/gpu/drm/amd/display/include/link_service_types.h

index ed46e9a..df116f8 100644 (file)
@@ -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);
index b232601..fe8b514 100644 (file)
@@ -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*/