Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / rcar-du / rcar_du_kms.h
blob8f5fff176754badae4837b8383c2daaa97380a97
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * rcar_du_kms.h -- R-Car Display Unit Mode Setting
5 * Copyright (C) 2013-2014 Renesas Electronics Corporation
7 * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
8 */
10 #ifndef __RCAR_DU_KMS_H__
11 #define __RCAR_DU_KMS_H__
13 #include <linux/types.h>
15 struct drm_file;
16 struct drm_device;
17 struct drm_mode_create_dumb;
18 struct rcar_du_device;
20 struct rcar_du_format_info {
21 u32 fourcc;
22 u32 v4l2;
23 unsigned int bpp;
24 unsigned int planes;
25 unsigned int hsub;
26 unsigned int pnmr;
27 unsigned int edf;
30 const struct rcar_du_format_info *rcar_du_format_info(u32 fourcc);
32 int rcar_du_modeset_init(struct rcar_du_device *rcdu);
34 int rcar_du_dumb_create(struct drm_file *file, struct drm_device *dev,
35 struct drm_mode_create_dumb *args);
37 #endif /* __RCAR_DU_KMS_H__ */