drm/mediatek: Add suffix 0 to DDP_COMPONENT_DITHER for mt8195 vdosys0
authorjason-jh.lin <jason-jh.lin@mediatek.com>
Thu, 26 May 2022 10:21:25 +0000 (18:21 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 6 Jun 2022 13:23:04 +0000 (21:23 +0800)
commit9c1b06a509dfaf539ced98cecce9e797fb2ee3eb
tree855141343562cb34d5973a882c35be1dc21537d9
parent7266e90a51a32722a94daa3cb5b8fa278059e49e
drm/mediatek: Add suffix 0 to DDP_COMPONENT_DITHER for mt8195 vdosys0

Because mt8195 vdosys0 has 2 DITHER components,
so the suffix 0 need to be added to DDP_COMPONENT_DITHER.

Then DITHER enum will become:
DDP_COMPONENT_DITHER0 and DDP_COMPONENT_DITHER1.

Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220526102126.19756-5-jason-jh.lin@mediatek.com/
Signed-off-by: jason-jh.lin <jason-jh.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
drivers/gpu/drm/mediatek/mtk_drm_drv.c