[PATCH 8/8] drm/amd/display: Don't fail validation for SIGNAL_TYPE_VIRTUAL

Harry Wentland harry.wentland at amd.com
Sat Jan 7 00:22:30 UTC 2017


From: Yongqiang Sun <yongqiang.sun at amd.com>

Change-Id: Ic8c814fcb8a18aaf34b8da87abbcc8529b6cb02e
Signed-off-by: Yongqiang Sun <yongqiang.sun at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 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 c08337696cf8..930ae1377ab6 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
@@ -1053,6 +1053,9 @@ bool dce110_link_encoder_validate_output_with_stream(
 		is_valid = dce110_link_encoder_validate_dp_output(
 			enc110, &stream->public.timing);
 	break;
+	case SIGNAL_TYPE_VIRTUAL:
+		is_valid = true;
+		break;
 	default:
 		is_valid = false;
 	break;
-- 
2.9.3



More information about the amd-gfx mailing list