diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0612-drm-amd-display-fix-4k-30-with-10bit-deep-color-and-.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0612-drm-amd-display-fix-4k-30-with-10bit-deep-color-and-.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0612-drm-amd-display-fix-4k-30-with-10bit-deep-color-and-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0612-drm-amd-display-fix-4k-30-with-10bit-deep-color-and-.patch new file mode 100644 index 00000000..081dcc90 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0612-drm-amd-display-fix-4k-30-with-10bit-deep-color-and-.patch @@ -0,0 +1,31 @@ +From c309c1a4ee79b9e585062ce6aad27fb3f3c5cb65 Mon Sep 17 00:00:00 2001 +From: Charlene Liu <charlene.liu@amd.com> +Date: Wed, 12 Jul 2017 15:49:46 -0400 +Subject: [PATCH 0612/4131] drm/amd/display: fix 4k@30 with 10bit deep color + and avi for BT2020 + +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 | 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 + |