.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * omap_connector.h -- OMAP DRM Connector |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2011 Texas Instruments |
---|
5 | 6 | * 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 | 7 | */ |
---|
19 | 8 | |
---|
20 | 9 | #ifndef __OMAPDRM_CONNECTOR_H__ |
---|
.. | .. |
---|
22 | 11 | |
---|
23 | 12 | #include <linux/types.h> |
---|
24 | 13 | |
---|
| 14 | +enum drm_mode_status; |
---|
| 15 | + |
---|
25 | 16 | struct drm_connector; |
---|
26 | 17 | struct drm_device; |
---|
27 | 18 | struct drm_encoder; |
---|
28 | 19 | struct omap_dss_device; |
---|
29 | 20 | |
---|
30 | 21 | struct drm_connector *omap_connector_init(struct drm_device *dev, |
---|
31 | | - int connector_type, struct omap_dss_device *dssdev, |
---|
32 | | - struct drm_encoder *encoder); |
---|
33 | | -struct drm_encoder *omap_connector_attached_encoder( |
---|
34 | | - struct drm_connector *connector); |
---|
35 | | -bool omap_connector_get_hdmi_mode(struct drm_connector *connector); |
---|
| 22 | + struct omap_dss_device *output, |
---|
| 23 | + struct drm_encoder *encoder); |
---|
| 24 | +enum drm_mode_status omap_connector_mode_fixup(struct omap_dss_device *dssdev, |
---|
| 25 | + const struct drm_display_mode *mode, |
---|
| 26 | + struct drm_display_mode *adjusted_mode); |
---|
36 | 27 | |
---|
37 | 28 | #endif /* __OMAPDRM_CONNECTOR_H__ */ |
---|