summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mediatek/mtk_dpi_regs.h
diff options
context:
space:
mode:
authorBo-Chen Chen <rex-bc.chen@mediatek.com>2022-07-05 18:25:28 +0800
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2022-07-06 22:29:46 +0800
commit2587d8951b2f0e20a5e4a1f79b33f0b0932fb917 (patch)
tree22599fc865a3c1ba3d9550e0607be8f9f6919166 /drivers/gpu/drm/mediatek/mtk_dpi_regs.h
parentc83da6233d05715a1e5841aa0b874faaa8150074 (diff)
drm/mediatek: dpi: Add input_2pixel config support
The input pixel per iteration could be different, so we add a new config "input_2pixel" to control this. Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220705102530.1344-4-rex-bc.chen@mediatek.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_dpi_regs.h')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_dpi_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_dpi_regs.h b/drivers/gpu/drm/mediatek/mtk_dpi_regs.h
index 9ce300313f3e..305066577d41 100644
--- a/drivers/gpu/drm/mediatek/mtk_dpi_regs.h
+++ b/drivers/gpu/drm/mediatek/mtk_dpi_regs.h
@@ -40,6 +40,7 @@
#define FAKE_DE_LEVEN BIT(21)
#define FAKE_DE_RODD BIT(22)
#define FAKE_DE_REVEN BIT(23)
+#define DPINTF_INPUT_2P_EN BIT(29)
#define DPI_OUTPUT_SETTING 0x14
#define CH_SWAP 0