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

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

parent d21becbe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1661,7 +1661,8 @@ static void set_avi_info_frame(

	/* C0, C1 : Colorimetry */
	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;
	else if (color_space == COLOR_SPACE_YCBCR601 ||
			color_space == COLOR_SPACE_YCBCR601_LIMITED)