From d5de97a2b9ec8ba249df6a3e29f20b56285a48dd Mon Sep 17 00:00:00 2001 From: Hersen Wu Date: Fri, 23 Dec 2016 10:39:22 -0500 Subject: [PATCH] drm/amd/display: Add missing function to fix crash for DP Test pattern 4 Signed-off-by: Hersen Wu Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 +++ 1 file changed, 3 insertions(+) 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 b439a9ee0228..6481fb2028ee 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 @@ -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;