sti_drv.h 1017 B

1234567891011121314151617181920212223242526272829303132333435363738
  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_DRV_H_
  7. #define _STI_DRV_H_
  8. #include <linux/platform_device.h>
  9. struct drm_device;
  10. struct drm_property;
  11. struct sti_compositor;
  12. /**
  13. * STI drm private structure
  14. * This structure is stored as private in the drm_device
  15. *
  16. * @compo: compositor
  17. * @plane_zorder_property: z-order property for CRTC planes
  18. * @drm_dev: drm device
  19. */
  20. struct sti_private {
  21. struct sti_compositor *compo;
  22. struct drm_property *plane_zorder_property;
  23. struct drm_device *drm_dev;
  24. };
  25. extern struct platform_driver sti_tvout_driver;
  26. extern struct platform_driver sti_hqvdp_driver;
  27. extern struct platform_driver sti_hdmi_driver;
  28. extern struct platform_driver sti_hda_driver;
  29. extern struct platform_driver sti_dvo_driver;
  30. extern struct platform_driver sti_vtg_driver;
  31. extern struct platform_driver sti_compositor_driver;
  32. #endif