summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mediatek/mtk_mdp_rdma.h
blob: 9943ee3aac31e7c659e045ddfa8cb5e79775580b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2021 MediaTek Inc.
 */

#ifndef __MTK_MDP_RDMA_H__
#define __MTK_MDP_RDMA_H__

struct mtk_mdp_rdma_cfg {
	unsigned int	pitch;
	unsigned int	addr0;
	unsigned int	width;
	unsigned int	height;
	unsigned int	x_left;
	unsigned int	y_top;
	int		fmt;
	int		color_encoding;
};

#endif // __MTK_MDP_RDMA_H__