drm/amd/display: Add missing function to fix crash for DP Test pattern 4
authorHersen Wu <hersenxs.wu@amd.com>
Fri, 23 Dec 2016 15:39:22 +0000 (10:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:07:44 +0000 (17:07 -0400)
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c

index b439a9ee0228253841d981707ef152823a0ac44a..6481fb2028eefbfceaee01ccfd951ad11df34d64 100644 (file)
@@ -1472,6 +1472,9 @@ void dce110_link_encoder_dp_set_phy_pattern(
        case DP_TEST_PATTERN_TRAINING_PATTERN3:
                dce110_link_encoder_set_dp_phy_pattern_training_pattern(enc, 2);
                break;
+       case DP_TEST_PATTERN_TRAINING_PATTERN4:
+               dce110_link_encoder_set_dp_phy_pattern_training_pattern(enc, 3);
+               break;
        case DP_TEST_PATTERN_D102:
                set_dp_phy_pattern_d102(enc110);
                break;