Commit 9294c776 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: fix 4k@30 with 10bit deep color and avi for BT2020

Signed-off-by: default avatarCharlene Liu <charlene.liu@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d21becbe
...@@ -1661,7 +1661,8 @@ static void set_avi_info_frame( ...@@ -1661,7 +1661,8 @@ static void set_avi_info_frame(
/* C0, C1 : Colorimetry */ /* C0, C1 : Colorimetry */
if (color_space == COLOR_SPACE_YCBCR709 || if (color_space == COLOR_SPACE_YCBCR709 ||
color_space == COLOR_SPACE_YCBCR709_LIMITED) color_space == COLOR_SPACE_YCBCR709_LIMITED ||
color_space == COLOR_SPACE_2020_YCBCR)
hdmi_info->bits.C0_C1 = COLORIMETRY_ITU709; hdmi_info->bits.C0_C1 = COLORIMETRY_ITU709;
else if (color_space == COLOR_SPACE_YCBCR601 || else if (color_space == COLOR_SPACE_YCBCR601 ||
color_space == COLOR_SPACE_YCBCR601_LIMITED) color_space == COLOR_SPACE_YCBCR601_LIMITED)
......
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