]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/amd/display: fix 4k@30 with 10bit deep color and avi for BT2020
authorCharlene Liu <charlene.liu@amd.com>
Wed, 12 Jul 2017 19:49:46 +0000 (15:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:15:07 +0000 (18:15 -0400)
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c

index 78ba5c6d9ac2803eebde221abd152d9cd4c57d63..9d0128e957679b5fe14c01dc7adefd7d221eab43 100644 (file)
@@ -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)