mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
f8946e2b6b
Add MDP_RDMA driver for MT8195. MDP_RDMA is the DMA engine of the ovl_adaptor component. Signed-off-by: Nancy.Lin <nancy.lin@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220620091930.27797-4-nancy.lin@mediatek.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
21 lines
363 B
C
21 lines
363 B
C
/* 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__
|