Commit 89aed24c authored by Zeyu Fan's avatar Zeyu Fan Committed by Alex Deucher

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

Signed-off-by: default avatarZeyu Fan <Zeyu.Fan@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0430d52b
...@@ -1026,9 +1026,13 @@ bool dce110_link_encoder_validate_output_with_stream( ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment