2 * Copyright (C) 2016 BayLibre, SAS
3 * Author: Neil Armstrong <narmstrong@baylibre.com>
4 * Copyright (C) 2014 Endless Mobile
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 * Jasper St. Pierre <jstpierre@mecheye.net>
23 #ifndef __MESON_VENC_CVBS_H
24 #define __MESON_VENC_CVBS_H
26 #include "meson_drv.h"
27 #include "meson_venc.h"
29 struct meson_cvbs_mode
{
30 struct meson_cvbs_enci_mode
*enci
;
31 struct drm_display_mode mode
;
34 #define MESON_CVBS_MODES_COUNT 2
36 /* Modes supported by the CVBS output */
37 extern struct meson_cvbs_mode meson_cvbs_modes
[MESON_CVBS_MODES_COUNT
];
39 int meson_venc_cvbs_create(struct meson_drm
*priv
);
41 #endif /* __MESON_VENC_CVBS_H */