sti_crtc.h 704 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) STMicroelectronics SA 2014
  3. * Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
  4. * License terms: GNU General Public License (GPL), version 2
  5. */
  6. #ifndef _STI_CRTC_H_
  7. #define _STI_CRTC_H_
  8. #include <drm/drmP.h>
  9. struct sti_mixer;
  10. int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer,
  11. struct drm_plane *primary, struct drm_plane *cursor);
  12. int sti_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe);
  13. void sti_crtc_disable_vblank(struct drm_device *dev, unsigned int pipe);
  14. int sti_crtc_vblank_cb(struct notifier_block *nb,
  15. unsigned long event, void *data);
  16. bool sti_crtc_is_main(struct drm_crtc *drm_crtc);
  17. #endif