summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2017-01-06 11:21:47 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:08:58 -0400
commit546b9b619bfe490ed7cf10c39827e4e578ba8135 (patch)
treeaa507283c2f8ad051e8e59265f28a36ade4ec7f6
parentc87af595c03e73cc3175cf282858af22b374e20c (diff)
downloadlinux-stable-546b9b619bfe490ed7cf10c39827e4e578ba8135.tar.gz
linux-stable-546b9b619bfe490ed7cf10c39827e4e578ba8135.tar.bz2
linux-stable-546b9b619bfe490ed7cf10c39827e4e578ba8135.zip
drm/amd/display: Don't fail validation for SIGNAL_TYPE_VIRTUAL
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c3
1 files changed, 3 insertions, 0 deletions
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;