drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
[linux/fpc-iii.git] / drivers / gpu / drm / fsl-dcu / fsl_dcu_drm_output.h
blob5a7b88e19e44f1fc1438914462200e1240cbb267
1 /*
2 * Copyright 2015 Freescale Semiconductor, Inc.
4 * Freescale DCU drm device driver
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
12 #ifndef __FSL_DCU_DRM_CONNECTOR_H__
13 #define __FSL_DCU_DRM_CONNECTOR_H__
15 struct fsl_dcu_drm_connector {
16 struct drm_connector base;
17 struct drm_encoder *encoder;
18 struct drm_panel *panel;
21 static inline struct fsl_dcu_drm_connector *
22 to_fsl_dcu_connector(struct drm_connector *con)
24 return con ? container_of(con, struct fsl_dcu_drm_connector, base)
25 : NULL;
28 int fsl_dcu_drm_encoder_create(struct fsl_dcu_drm_device *fsl_dev,
29 struct drm_crtc *crtc);
30 int fsl_dcu_create_outputs(struct fsl_dcu_drm_device *fsl_dev);
32 #endif /* __FSL_DCU_DRM_CONNECTOR_H__ */