diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0424-drm-amd-display-add-yuv-pixel-formats-to-pixel_forma.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0424-drm-amd-display-add-yuv-pixel-formats-to-pixel_forma.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0424-drm-amd-display-add-yuv-pixel-formats-to-pixel_forma.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0424-drm-amd-display-add-yuv-pixel-formats-to-pixel_forma.patch deleted file mode 100644 index 52278f04..00000000 --- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0424-drm-amd-display-add-yuv-pixel-formats-to-pixel_forma.patch +++ /dev/null @@ -1,35 +0,0 @@ -From bd6770fb9ef9d9a3dd0097b4d24c4dede0fdf95e Mon Sep 17 00:00:00 2001 -From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> -Date: Wed, 10 May 2017 11:35:07 -0400 -Subject: [PATCH 0424/4131] drm/amd/display: add yuv pixel formats to - pixel_format_to_bpp() - -Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c -index 1e6952bde..bc98081 100644 ---- a/drivers/gpu/drm/amd/display/dc/core/dc.c -+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c -@@ -1051,8 +1051,13 @@ static bool is_surface_in_context( - static unsigned int pixel_format_to_bpp(enum surface_pixel_format format) - { - switch (format) { -+ case SURFACE_PIXEL_FORMAT_VIDEO_420_YCbCr: -+ case SURFACE_PIXEL_FORMAT_VIDEO_420_YCrCb: -+ return 12; - case SURFACE_PIXEL_FORMAT_GRPH_ARGB1555: - case SURFACE_PIXEL_FORMAT_GRPH_RGB565: -+ case SURFACE_PIXEL_FORMAT_VIDEO_420_10bpc_YCbCr: -+ case SURFACE_PIXEL_FORMAT_VIDEO_420_10bpc_YCrCb: - return 16; - case SURFACE_PIXEL_FORMAT_GRPH_ARGB8888: - case SURFACE_PIXEL_FORMAT_GRPH_ABGR8888: --- -2.7.4 - |