]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: dpi: Use mt8183 output formats for mt8192
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 8 Apr 2022 01:39:50 +0000 (21:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:48 +0000 (10:22 +0200)
commit862a1fe1e8941e7303289c2549726cc2efd010ed
tree26ad553b9b6aa72d0c28ce7bcaa8239c409d6601
parent8cd8fe1f0e8933f61850d869532f18b0bb5b5ced
drm/mediatek: dpi: Use mt8183 output formats for mt8192

[ Upstream commit 9c940cc21a19c31d682c7b3833ccc7a47ac4addc ]

The configuration for mt8192 was incorrectly using the output formats
from mt8173. Since the output formats for mt8192 are instead the same
ones as for mt8183, which require two bus samples per pixel, the
pixelclock and DDR edge setting were misconfigured. This made external
displays unable to show the image.

Fix the issue by correcting the output format for mt8192 to be the same
as for mt8183, fixing the usage of external displays for mt8192.

Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220408013950.674477-1-nfraprado@collabora.com/
Fixes: 8a861248a75c ("drm/mediatek: dpi: Add output bus formats to driver data")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/mediatek/mtk_dpi.c