1b5561412SLaurent Pinchart /* 2b5561412SLaurent Pinchart * omap_encoder.h -- OMAP DRM Encoder 3b5561412SLaurent Pinchart * 4b5561412SLaurent Pinchart * Copyright (C) 2011 Texas Instruments 5b5561412SLaurent Pinchart * Author: Rob Clark <rob@ti.com> 6b5561412SLaurent Pinchart * 7b5561412SLaurent Pinchart * This program is free software; you can redistribute it and/or modify it 8b5561412SLaurent Pinchart * under the terms of the GNU General Public License version 2 as published by 9b5561412SLaurent Pinchart * the Free Software Foundation. 10b5561412SLaurent Pinchart * 11b5561412SLaurent Pinchart * This program is distributed in the hope that it will be useful, but WITHOUT 12b5561412SLaurent Pinchart * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13b5561412SLaurent Pinchart * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 14b5561412SLaurent Pinchart * more details. 15b5561412SLaurent Pinchart * 16b5561412SLaurent Pinchart * You should have received a copy of the GNU General Public License along with 17b5561412SLaurent Pinchart * this program. If not, see <http://www.gnu.org/licenses/>. 18b5561412SLaurent Pinchart */ 19b5561412SLaurent Pinchart 20b5561412SLaurent Pinchart #ifndef __OMAPDRM_ENCODER_H__ 21b5561412SLaurent Pinchart #define __OMAPDRM_ENCODER_H__ 22b5561412SLaurent Pinchart 23b5561412SLaurent Pinchart struct drm_device; 24b5561412SLaurent Pinchart struct drm_encoder; 25b5561412SLaurent Pinchart struct omap_dss_device; 26b5561412SLaurent Pinchart 27b5561412SLaurent Pinchart struct drm_encoder *omap_encoder_init(struct drm_device *dev, 28b5561412SLaurent Pinchart struct omap_dss_device *dssdev); 29b5561412SLaurent Pinchart 30b5561412SLaurent Pinchart /* map crtc to vblank mask */ 31b5561412SLaurent Pinchart struct omap_dss_device *omap_encoder_get_dssdev(struct drm_encoder *encoder); 32b5561412SLaurent Pinchart 33b5561412SLaurent Pinchart #endif /* __OMAPDRM_ENCODER_H__ */ 34