2 * omap_connector.h -- OMAP DRM Connector
4 * Copyright (C) 2011 Texas Instruments
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.
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
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/>.
20 #ifndef __OMAPDRM_CONNECTOR_H__
21 #define __OMAPDRM_CONNECTOR_H__
23 #include <linux/types.h>
30 struct omap_dss_device;
32 struct drm_connector *omap_connector_init(struct drm_device *dev,
33 struct omap_dss_device *output,
34 struct drm_encoder *encoder);
35 bool omap_connector_get_hdmi_mode(struct drm_connector *connector);
36 void omap_connector_enable_hpd(struct drm_connector *connector);
37 void omap_connector_disable_hpd(struct drm_connector *connector);
38 enum drm_mode_status omap_connector_mode_fixup(struct omap_dss_device *dssdev,
39 const struct drm_display_mode *mode,
40 struct drm_display_mode *adjusted_mode);
42 #endif /* __OMAPDRM_CONNECTOR_H__ */