treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / omapdrm / omap_connector.h
blob13607bda33d8f2714fdfb06b42400d449463d10e
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * omap_connector.h -- OMAP DRM Connector
5 * Copyright (C) 2011 Texas Instruments
6 * Author: Rob Clark <rob@ti.com>
7 */
9 #ifndef __OMAPDRM_CONNECTOR_H__
10 #define __OMAPDRM_CONNECTOR_H__
12 #include <linux/types.h>
14 enum drm_mode_status;
16 struct drm_connector;
17 struct drm_device;
18 struct drm_encoder;
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__ */