From: Enrico Jorns Date: Tue, 24 Nov 2015 15:29:22 +0000 (+0100) Subject: drm/imx: Add missing DRM_FORMAT_RGB565 to ipu_plane_formats X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33bee520cbaee22118fb96ab500ba4cd4e8cb749;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/imx: Add missing DRM_FORMAT_RGB565 to ipu_plane_formats DRM_FORMAT_RGB565 is missing from ipu_plane_formats. The support is there, just need to make it available to userspace. Signed-off-by: Enrico Jorns Signed-off-by: Philipp Zabel --- diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c index 591ba2f1ae03..26bb1b626fe3 100644 --- a/drivers/gpu/drm/imx/ipuv3-plane.c +++ b/drivers/gpu/drm/imx/ipuv3-plane.c @@ -42,6 +42,7 @@ static const uint32_t ipu_plane_formats[] = { DRM_FORMAT_YVYU, DRM_FORMAT_YUV420, DRM_FORMAT_YVU420, + DRM_FORMAT_RGB565, }; int ipu_plane_irq(struct ipu_plane *ipu_plane)