Change-Id: If3e687d6e8a53fe0ab551475c90851b4e60ebf79
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
DRM_FORMAT_ARGB8888,
DRM_FORMAT_NV21,
fourcc_code('N', 'V', '4', '2'),
- DRM_FORMAT_NV61
+ DRM_FORMAT_NV61,
+ DRM_FORMAT_YUV420
};
static int vigs_plane_update(struct drm_plane *plane,
case DRM_FORMAT_NV61:
format = vigsp_plane_nv61;
break;
+ case DRM_FORMAT_YUV420:
+ format = vigsp_plane_yuv420;
+ break;
default:
BUG();
format = vigsp_plane_bgrx8888;
/*
* Bump this whenever protocol changes.
*/
-#define VIGS_PROTOCOL_VERSION 18
+#define VIGS_PROTOCOL_VERSION 19
#define VIGS_MAX_PLANES 2
vigsp_plane_bgra8888 = 0x1,
vigsp_plane_nv21 = 0x2,
vigsp_plane_nv42 = 0x3,
- vigsp_plane_nv61 = 0x4
+ vigsp_plane_nv61 = 0x4,
+ vigsp_plane_yuv420 = 0x5
} vigsp_plane_format;
#pragma pack(1)