omap_plane.h 638 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * omap_plane.h -- OMAP DRM Plane
  4. *
  5. * Copyright (C) 2011 Texas Instruments
  6. * Author: Rob Clark <[email protected]>
  7. */
  8. #ifndef __OMAPDRM_PLANE_H__
  9. #define __OMAPDRM_PLANE_H__
  10. #include <linux/types.h>
  11. enum drm_plane_type;
  12. struct drm_device;
  13. struct drm_mode_object;
  14. struct drm_plane;
  15. struct drm_plane *omap_plane_init(struct drm_device *dev,
  16. int idx, enum drm_plane_type type,
  17. u32 possible_crtcs);
  18. void omap_plane_install_properties(struct drm_plane *plane,
  19. struct drm_mode_object *obj);
  20. bool is_omap_plane_dual_overlay(struct drm_plane_state *state);
  21. #endif /* __OMAPDRM_PLANE_H__ */