diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0655-drm-amd-display-fix-YCbCr420-deep-color-mode-not-sup.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0655-drm-amd-display-fix-YCbCr420-deep-color-mode-not-sup.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0655-drm-amd-display-fix-YCbCr420-deep-color-mode-not-sup.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0655-drm-amd-display-fix-YCbCr420-deep-color-mode-not-sup.patch new file mode 100644 index 00000000..9c49af04 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0655-drm-amd-display-fix-YCbCr420-deep-color-mode-not-sup.patch @@ -0,0 +1,30 @@ +From b34c23d1710f20f7d95a1800d711a715914ab414 Mon Sep 17 00:00:00 2001 +From: Charlene Liu <charlene.liu@amd.com> +Date: Sun, 23 Jul 2017 16:45:45 -0400 +Subject: [PATCH 0655/4131] drm/amd/display: fix YCbCr420 deep color mode not + supported + +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/calcs/dcn_calcs.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +index a1eabc4..17b2828 100644 +--- a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ++++ b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +@@ -858,6 +858,8 @@ bool dcn_validate_bandwidth( + - pipe->stream->public.timing.v_front_porch; + v->vactive[input_idx] = pipe->stream->public.timing.v_addressable; + v->pixel_clock[input_idx] = pipe->stream->public.timing.pix_clk_khz / 1000.0f; ++ if (pipe->stream->public.timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) ++ v->pixel_clock[input_idx] /= 2; + + + if (!pipe->surface){ +-- +2.7.4 + |