]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a869f6525c3cf9df4b743a2b61f7c5a5fa802fe
tree855141343562cb34d5973a882c35be1dc21537d9
parent61f88def9a0dbfa7afd67f0e679c6014eb0469a9
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