linux/drivers/gpu/drm/meson/meson_venc_cvbs.h
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2016 BayLibre, SAS
   3 * Author: Neil Armstrong <narmstrong@baylibre.com>
   4 * Copyright (C) 2014 Endless Mobile
   5 *
   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.
  10 *
  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.
  15 *
  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/>.
  18 *
  19 * Written by:
  20 *     Jasper St. Pierre <jstpierre@mecheye.net>
  21 */
  22
  23#ifndef __MESON_VENC_CVBS_H
  24#define __MESON_VENC_CVBS_H
  25
  26#include "meson_drv.h"
  27#include "meson_venc.h"
  28
  29struct meson_cvbs_mode {
  30        struct meson_cvbs_enci_mode *enci;
  31        struct drm_display_mode mode;
  32};
  33
  34#define MESON_CVBS_MODES_COUNT  2
  35
  36/* Modes supported by the CVBS output */
  37extern struct meson_cvbs_mode meson_cvbs_modes[MESON_CVBS_MODES_COUNT];
  38
  39int meson_venc_cvbs_create(struct meson_drm *priv);
  40
  41#endif /* __MESON_VENC_CVBS_H */
  42