meson_encoder_cvbs.h (684B)
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright (C) 2016 BayLibre, SAS 4 * Author: Neil Armstrong <narmstrong@baylibre.com> 5 * Copyright (C) 2014 Endless Mobile 6 * 7 * Written by: 8 * Jasper St. Pierre <jstpierre@mecheye.net> 9 */ 10 11#ifndef __MESON_VENC_CVBS_H 12#define __MESON_VENC_CVBS_H 13 14#include "meson_drv.h" 15#include "meson_venc.h" 16 17struct meson_cvbs_mode { 18 struct meson_cvbs_enci_mode *enci; 19 struct drm_display_mode mode; 20}; 21 22#define MESON_CVBS_MODES_COUNT 2 23 24/* Modes supported by the CVBS output */ 25extern struct meson_cvbs_mode meson_cvbs_modes[MESON_CVBS_MODES_COUNT]; 26 27int meson_encoder_cvbs_init(struct meson_drm *priv); 28 29#endif /* __MESON_VENC_CVBS_H */