sti_crtc.h 590 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) STMicroelectronics SA 2014
  4. * Author: Benjamin Gaignard <[email protected]> for STMicroelectronics.
  5. */
  6. #ifndef _STI_CRTC_H_
  7. #define _STI_CRTC_H_
  8. struct drm_crtc;
  9. struct drm_device;
  10. struct drm_plane;
  11. struct notifier_block;
  12. struct sti_mixer;
  13. int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer,
  14. struct drm_plane *primary, struct drm_plane *cursor);
  15. int sti_crtc_vblank_cb(struct notifier_block *nb,
  16. unsigned long event, void *data);
  17. bool sti_crtc_is_main(struct drm_crtc *drm_crtc);
  18. #endif