diff options
author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2020-08-13 08:21:11 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2020-08-13 12:50:27 +0200 |
commit | 129572999a1eb6e125e645d0436de7d4ab6b8a6c (patch) | |
tree | d03e080bb6cfb782cbaf3122b3415ffe8ac475d3 /drivers/gpu/drm/xen | |
parent | drm/xen-front: Fix misused IS_ERR_OR_NULL checks (diff) | |
download | linux-129572999a1eb6e125e645d0436de7d4ab6b8a6c.tar.xz linux-129572999a1eb6e125e645d0436de7d4ab6b8a6c.zip |
drm/xen-front: Add YUYV to supported formats
Add YUYV to supported formats, so the frontend can work with the
formats used by cameras and other HW.
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20200813062113.11030-4-andr2000@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/gpu/drm/xen')
-rw-r--r-- | drivers/gpu/drm/xen/xen_drm_front_conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xen/xen_drm_front_conn.c b/drivers/gpu/drm/xen/xen_drm_front_conn.c index 459702fa990e..44f1f70c0aed 100644 --- a/drivers/gpu/drm/xen/xen_drm_front_conn.c +++ b/drivers/gpu/drm/xen/xen_drm_front_conn.c @@ -33,6 +33,7 @@ static const u32 plane_formats[] = { DRM_FORMAT_ARGB4444, DRM_FORMAT_XRGB1555, DRM_FORMAT_ARGB1555, + DRM_FORMAT_YUYV, }; const u32 *xen_drm_front_conn_get_formats(int *format_count) |