omap_encoder.h 1.0 KB

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