xref: /linux/drivers/gpu/drm/mediatek/mtk_mdp_rdma.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2021 MediaTek Inc.
4  */
5 
6 #ifndef __MTK_MDP_RDMA_H__
7 #define __MTK_MDP_RDMA_H__
8 
9 struct mtk_mdp_rdma_cfg {
10 	unsigned int	pitch;
11 	unsigned int	addr0;
12 	unsigned int	width;
13 	unsigned int	height;
14 	unsigned int	x_left;
15 	unsigned int	y_top;
16 	int		fmt;
17 	int		color_encoding;
18 };
19 
20 #endif // __MTK_MDP_RDMA_H__
21