]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/rockchip: dw_hdmi: Set cur_ctr to 0 always
authorDouglas Anderson <dianders@chromium.org>
Sun, 8 Sep 2024 14:55:01 +0000 (14:55 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 19 Sep 2024 14:22:47 +0000 (16:22 +0200)
Jitter was improved by lowering the MPLL bandwidth to account for high
frequency noise in the rk3288 PLL.  In each case MPLL bandwidth was
lowered only enough to get us a comfortable margin.  We believe that
lowering the bandwidth like this is safe given sufficient testing.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240908145511.3331451-5-jonas@kwiboo.se
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c

index dffbae005a962eedbd46f94a876674bbcf4aa0e4..a050a65af8f29fd2fbb00cdf5b4548e499663cc2 100644 (file)
@@ -179,23 +179,9 @@ static const struct dw_hdmi_mpll_config rockchip_mpll_cfg[] = {
 static const struct dw_hdmi_curr_ctrl rockchip_cur_ctr[] = {
        /*      pixelclk    bpp8    bpp10   bpp12 */
        {
-               40000000,  { 0x0018, 0x0018, 0x0018 },
-       }, {
-               65000000,  { 0x0028, 0x0028, 0x0028 },
-       }, {
-               66000000,  { 0x0038, 0x0038, 0x0038 },
-       }, {
-               74250000,  { 0x0028, 0x0038, 0x0038 },
-       }, {
-               83500000,  { 0x0028, 0x0038, 0x0038 },
-       }, {
-               146250000, { 0x0038, 0x0038, 0x0038 },
-       }, {
-               148500000, { 0x0000, 0x0038, 0x0038 },
-       }, {
                600000000, { 0x0000, 0x0000, 0x0000 },
        }, {
-               ~0UL,      { 0x0000, 0x0000, 0x0000},
+               ~0UL,      { 0x0000, 0x0000, 0x0000 },
        }
 };