1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * omap_connector.h -- OMAP DRM Connector
5 * Copyright (C) 2011 Texas Instruments
6 * Author: Rob Clark <rob@ti.com>
9 #ifndef __OMAPDRM_CONNECTOR_H__
10 #define __OMAPDRM_CONNECTOR_H__
12 #include <linux/types.h>
19 struct omap_dss_device
;
21 struct drm_connector
*omap_connector_init(struct drm_device
*dev
,
22 struct omap_dss_device
*output
,
23 struct drm_encoder
*encoder
);
24 bool omap_connector_get_hdmi_mode(struct drm_connector
*connector
);
25 void omap_connector_enable_hpd(struct drm_connector
*connector
);
26 void omap_connector_disable_hpd(struct drm_connector
*connector
);
27 enum drm_mode_status
omap_connector_mode_fixup(struct omap_dss_device
*dssdev
,
28 const struct drm_display_mode
*mode
,
29 struct drm_display_mode
*adjusted_mode
);
31 #endif /* __OMAPDRM_CONNECTOR_H__ */