2 * Copyright (C) ROCKCHIP, Inc.
3 * Author:yzq<yzq@rock-chips.com>
5 * based on exynos_drm_connector.h
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.
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.
16 #ifndef _ROCKCHIP_DRM_CONNECTOR_H_
17 #define _ROCKCHIP_DRM_CONNECTOR_H_
19 struct drm_connector *rockchip_drm_connector_create(struct drm_device *dev,
20 struct drm_encoder *encoder);
22 struct drm_encoder *rockchip_drm_best_encoder(struct drm_connector *connector);
24 void rockchip_drm_display_power(struct drm_connector *connector, int mode);