sti_drv.h 982 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) STMicroelectronics SA 2014
  4. * Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
  5. */
  6. #ifndef _STI_DRV_H_
  7. #define _STI_DRV_H_
  8. #include <drm/drmP.h>
  9. struct sti_compositor;
  10. struct sti_tvout;
  11. /**
  12. * STI drm private structure
  13. * This structure is stored as private in the drm_device
  14. *
  15. * @compo: compositor
  16. * @plane_zorder_property: z-order property for CRTC planes
  17. * @drm_dev: drm device
  18. */
  19. struct sti_private {
  20. struct sti_compositor *compo;
  21. struct drm_property *plane_zorder_property;
  22. struct drm_device *drm_dev;
  23. };
  24. extern struct platform_driver sti_tvout_driver;
  25. extern struct platform_driver sti_hqvdp_driver;
  26. extern struct platform_driver sti_hdmi_driver;
  27. extern struct platform_driver sti_hda_driver;
  28. extern struct platform_driver sti_dvo_driver;
  29. extern struct platform_driver sti_vtg_driver;
  30. extern struct platform_driver sti_compositor_driver;
  31. #endif