blob: 854099801649b547e15fb5cc1db18552bf1934d3 [file] [log] [blame]
Laurent Pinchartb5561412017-10-13 17:59:05 +03001/*
2 * omap_connector.h -- OMAP DRM Connector
3 *
4 * Copyright (C) 2011 Texas Instruments
5 * Author: Rob Clark <rob@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __OMAPDRM_CONNECTOR_H__
21#define __OMAPDRM_CONNECTOR_H__
22
23#include <linux/types.h>
24
25struct drm_connector;
26struct drm_device;
27struct drm_encoder;
28struct omap_dss_device;
29
30struct drm_connector *omap_connector_init(struct drm_device *dev,
Laurent Pinchart52c5dd22018-06-06 00:31:57 +030031 struct omap_dss_device *output,
32 struct omap_dss_device *display,
33 struct drm_encoder *encoder);
Laurent Pinchartb5561412017-10-13 17:59:05 +030034struct drm_encoder *omap_connector_attached_encoder(
35 struct drm_connector *connector);
36bool omap_connector_get_hdmi_mode(struct drm_connector *connector);
Laurent Pinchart18412b62018-05-30 21:46:44 +030037void omap_connector_enable_hpd(struct drm_connector *connector);
38void omap_connector_disable_hpd(struct drm_connector *connector);
Laurent Pinchartb5561412017-10-13 17:59:05 +030039
40#endif /* __OMAPDRM_CONNECTOR_H__ */