chromium: add drm drivers files based on
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / rockchip / rockchip_drm_connector.h
1 /*
2  * Copyright (C) ROCKCHIP, Inc.
3  * Author:yzq<yzq@rock-chips.com>
4  *
5  * based on exynos_drm_connector.h
6  *
7  * This software is licensed under the terms of the GNU General Public
8  * License version 2, as published by the Free Software Foundation, and
9  * may be copied, distributed, and modified under those terms.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  */
16 #ifndef _ROCKCHIP_DRM_CONNECTOR_H_
17 #define _ROCKCHIP_DRM_CONNECTOR_H_
18
19 struct drm_connector *rockchip_drm_connector_create(struct drm_device *dev,
20                                                    struct drm_encoder *encoder);
21
22 struct drm_encoder *rockchip_drm_best_encoder(struct drm_connector *connector);
23
24 void rockchip_drm_display_power(struct drm_connector *connector, int mode);
25
26 #endif