Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ */
0002 /*
0003  * shmob_drm_kms.h  --  SH Mobile DRM Mode Setting
0004  *
0005  * Copyright (C) 2012 Renesas Electronics Corporation
0006  *
0007  * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
0008  */
0009 
0010 #ifndef __SHMOB_DRM_KMS_H__
0011 #define __SHMOB_DRM_KMS_H__
0012 
0013 #include <linux/types.h>
0014 
0015 struct drm_gem_cma_object;
0016 struct shmob_drm_device;
0017 
0018 struct shmob_drm_format_info {
0019     u32 fourcc;
0020     unsigned int bpp;
0021     bool yuv;
0022     u32 lddfr;
0023 };
0024 
0025 const struct shmob_drm_format_info *shmob_drm_format_info(u32 fourcc);
0026 
0027 int shmob_drm_modeset_init(struct shmob_drm_device *sdev);
0028 
0029 #endif /* __SHMOB_DRM_KMS_H__ */