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:
parent
0430d52b76
commit
89aed24c18
|
@ -1026,9 +1026,13 @@ 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;
|
||||||
|
case SIGNAL_TYPE_EDP:
|
||||||
|
is_valid =
|
||||||
|
(stream->public.timing.
|
||||||
|
pixel_encoding == PIXEL_ENCODING_RGB) ? true : false;
|
||||||
break;
|
break;
|
||||||
case SIGNAL_TYPE_VIRTUAL:
|
case SIGNAL_TYPE_VIRTUAL:
|
||||||
is_valid = true;
|
is_valid = true;
|
||||||
|
|
Loading…
Reference in New Issue