drm/mediatek: Disable tmds on mt2701
authorchunhui dai <chunhui.dai@mediatek.com>
Fri, 4 Sep 2020 10:59:59 +0000 (12:59 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 14 Sep 2020 15:05:23 +0000 (23:05 +0800)
commit09e872d558ba6a7f4468c4e8cdf0cd5a99bfc175
tree96d4d452ac81f19fcf51d75095b9ace05786f917
parentf89c696e7f635487481eee0d196ab49730ce8664
drm/mediatek: Disable tmds on mt2701

Without that patch if you use specific resolutions like 1280x1024,
I can see distortion in the output. It seems as if the
frequency for updating the pixel of the image is out of sync.

For initialization tmds needs to be active, but can be disabled after init
to fix blurry display

Signed-off-by: chunhui dai <chunhui.dai@mediatek.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Tested-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/phy/mediatek/phy-mtk-hdmi-mt2701.c
drivers/phy/mediatek/phy-mtk-hdmi.c
drivers/phy/mediatek/phy-mtk-hdmi.h