drm/amd/display: Block YCbCr formats for eDP. Revert previous change.

Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Zeyu Fan 2017-04-17 19:02:19 -04:00 committed by Alex Deucher
parent 0430d52b76
commit 89aed24c18
1 changed files with 6 additions and 2 deletions

View File

@ -1026,10 +1026,14 @@ bool dce110_link_encoder_validate_output_with_stream(
break; break;
case SIGNAL_TYPE_DISPLAY_PORT: case SIGNAL_TYPE_DISPLAY_PORT:
case SIGNAL_TYPE_DISPLAY_PORT_MST: case SIGNAL_TYPE_DISPLAY_PORT_MST:
case SIGNAL_TYPE_EDP:
is_valid = dce110_link_encoder_validate_dp_output( is_valid = dce110_link_encoder_validate_dp_output(
enc110, &stream->public.timing); enc110, &stream->public.timing);
break; break;
case SIGNAL_TYPE_EDP:
is_valid =
(stream->public.timing.
pixel_encoding == PIXEL_ENCODING_RGB) ? true : false;
break;
case SIGNAL_TYPE_VIRTUAL: case SIGNAL_TYPE_VIRTUAL:
is_valid = true; is_valid = true;
break; break;