shmob_drm_kms.h 606 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * shmob_drm_kms.h -- SH Mobile DRM Mode Setting
  4. *
  5. * Copyright (C) 2012 Renesas Electronics Corporation
  6. *
  7. * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
  8. */
  9. #ifndef __SHMOB_DRM_KMS_H__
  10. #define __SHMOB_DRM_KMS_H__
  11. #include <linux/types.h>
  12. struct drm_gem_cma_object;
  13. struct shmob_drm_device;
  14. struct shmob_drm_format_info {
  15. u32 fourcc;
  16. unsigned int bpp;
  17. bool yuv;
  18. u32 lddfr;
  19. };
  20. const struct shmob_drm_format_info *shmob_drm_format_info(u32 fourcc);
  21. int shmob_drm_modeset_init(struct shmob_drm_device *sdev);
  22. #endif /* __SHMOB_DRM_KMS_H__ */