psb_intel_display.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. /* copyright (c) 2008, Intel Corporation
  2. *
  3. * This program is free software; you can redistribute it and/or modify it
  4. * under the terms and conditions of the GNU General Public License,
  5. * version 2, as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. * more details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program; if not, write to the Free Software Foundation, Inc.,
  14. * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
  15. *
  16. * Authors:
  17. * Eric Anholt <eric@anholt.net>
  18. */
  19. #ifndef _INTEL_DISPLAY_H_
  20. #define _INTEL_DISPLAY_H_
  21. bool psb_intel_pipe_has_type(struct drm_crtc *crtc, int type);
  22. void psb_intel_crtc_gamma_set(struct drm_crtc *crtc, u16 *red,
  23. u16 *green, u16 *blue, uint32_t type, uint32_t size);
  24. void psb_intel_crtc_destroy(struct drm_crtc *crtc);
  25. #endif