drm/sun4i: dw-hdmi: Fix max. frequency for H6
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 9 Feb 2021 17:59:00 +0000 (18:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2021 10:02:28 +0000 (11:02 +0100)
commit664b66e3552c219b7591e772d608160911401288
treecaf4d5d9f2809571243a646afc756ca03396c6b8
parent962168c2bc15642969fd1fa0b82e1538dcbd5691
drm/sun4i: dw-hdmi: Fix max. frequency for H6

[ Upstream commit 1926a0508d8947cf081280d85ff035300dc71da7 ]

It turns out that reasoning for lowering max. supported frequency is
wrong. Scrambling works just fine. Several now fixed bugs prevented
proper functioning, even with rates lower than 340 MHz. Issues were just
more pronounced with higher frequencies.

Fix that by allowing max. supported frequency in HW and fix the comment.

Fixes: cd9063757a22 ("drm/sun4i: DW HDMI: Lower max. supported rate for H6")
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210209175900.7092-6-jernej.skrabec@siol.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c