From 151ba986676187927beb59c3ef6752bfa64b4482 Mon Sep 17 00:00:00 2001 From: ChiHun Won Date: Fri, 13 Jul 2018 13:31:43 +0900 Subject: [PATCH] fbdev: dpu20: added decon bgr565 pixcel format Change-Id: Idd9d27d16dd10bc22f714086485dd94bc13d887d Signed-off-by: ChiHun Won --- drivers/video/fbdev/exynos/dpu20/helper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/fbdev/exynos/dpu20/helper.c b/drivers/video/fbdev/exynos/dpu20/helper.c index ecbfe76bc578..b087c6e6bb82 100644 --- a/drivers/video/fbdev/exynos/dpu20/helper.c +++ b/drivers/video/fbdev/exynos/dpu20/helper.c @@ -149,6 +149,7 @@ u32 dpu_get_bpp(enum decon_pixel_format fmt) case DECON_PIXEL_FORMAT_RGBA_5551: case DECON_PIXEL_FORMAT_RGB_565: + case DECON_PIXEL_FORMAT_BGR_565: return 16; case DECON_PIXEL_FORMAT_NV12N_10B: @@ -198,6 +199,7 @@ int dpu_get_meta_plane_cnt(enum decon_pixel_format format) case DECON_PIXEL_FORMAT_BGRX_8888: case DECON_PIXEL_FORMAT_RGBA_5551: case DECON_PIXEL_FORMAT_RGB_565: + case DECON_PIXEL_FORMAT_BGR_565: case DECON_PIXEL_FORMAT_NV12N: case DECON_PIXEL_FORMAT_NV16: case DECON_PIXEL_FORMAT_NV61: @@ -249,6 +251,7 @@ int dpu_get_plane_cnt(enum decon_pixel_format format, bool is_hdr) case DECON_PIXEL_FORMAT_BGRX_8888: case DECON_PIXEL_FORMAT_RGBA_5551: case DECON_PIXEL_FORMAT_RGB_565: + case DECON_PIXEL_FORMAT_BGR_565: case DECON_PIXEL_FORMAT_NV12N: return 1; -- 2.20.1