[PATCH 63/81] drm/amd/display: fix 4k at 30 with 10bit deep color and avi for BT2020
sunpeng.li at amd.com
sunpeng.li at amd.com
Tue Jul 25 13:54:23 UTC 2017
From: Charlene Liu <charlene.liu at amd.com>
Change-Id: I064a87f09f1254f61bde94b0546855b98f4ab211
Signed-off-by: Charlene Liu <charlene.liu at amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
index a9c086a..00fed61 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
@@ -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)
--
2.7.4
More information about the amd-gfx
mailing list