sti_drv.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_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. struct {
  24. struct drm_atomic_state *state;
  25. struct work_struct work;
  26. struct mutex lock;
  27. } commit;
  28. };
  29. extern struct platform_driver sti_tvout_driver;
  30. extern struct platform_driver sti_vtac_driver;
  31. extern struct platform_driver sti_hqvdp_driver;
  32. extern struct platform_driver sti_hdmi_driver;
  33. extern struct platform_driver sti_hda_driver;
  34. extern struct platform_driver sti_dvo_driver;
  35. extern struct platform_driver sti_vtg_driver;
  36. extern struct platform_driver sti_compositor_driver;
  37. #endif