display.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * display.h - OMAP2+ integration-specific DSS header
  3. *
  4. * Copyright (C) 2011 Texas Instruments, Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published by
  8. * the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful, but WITHOUT
  11. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  13. * more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along with
  16. * this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef __ARCH_ARM_MACH_OMAP2_DISPLAY_H
  19. #define __ARCH_ARM_MACH_OMAP2_DISPLAY_H
  20. #include <linux/kernel.h>
  21. struct omap_dss_dispc_dev_attr {
  22. u8 manager_count;
  23. bool has_framedonetv_irq;
  24. };
  25. int omap_init_drm(void);
  26. int omap_init_vrfb(void);
  27. int omap_init_fb(void);
  28. int omap_init_vout(void);
  29. struct device_node * __init omapdss_find_dss_of_node(void);
  30. struct omap_dss_board_info;
  31. /* Init with the board info */
  32. int omap_display_init(struct omap_dss_board_info *board_data);
  33. #endif