From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A27EC433FE for ; Thu, 27 Jan 2022 11:06:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239778AbiA0LGG (ORCPT ); Thu, 27 Jan 2022 06:06:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230431AbiA0LGF (ORCPT ); Thu, 27 Jan 2022 06:06:05 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28582C061714 for ; Thu, 27 Jan 2022 03:06:05 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD2bL-0002DW-0e; Thu, 27 Jan 2022 12:06:03 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nD2bK-0006qj-BK; Thu, 27 Jan 2022 12:06:02 +0100 Date: Thu, 27 Jan 2022 12:06:02 +0100 From: Sascha Hauer To: Doug Anderson Cc: dri-devel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Benjamin Gaignard , Peter Geis , Sandy Huang , "open list:ARM/Rockchip SoC..." , Michael Riesch , Sascha Hauer , Yakir Yang , Andy Yan , Linux ARM Subject: Re: [PATCH 09/27] drm/rockchip: dw_hdmi: Set cur_ctr to 0 always Message-ID: <20220127110602.GL23490@pengutronix.de> References: <20220126145549.617165-1-s.hauer@pengutronix.de> <20220126145549.617165-10-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 12:01:27 up 47 days, 19:47, 83 users, load average: 0.69, 0.35, 0.27 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: devicetree@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Jan 26, 2022 at 07:42:48AM -0800, Doug Anderson wrote: > Hi, > > On Wed, Jan 26, 2022 at 6:58 AM Sascha Hauer wrote: > > > > From: Douglas Anderson > > > > 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. > > > > Changes since v3: > > - new patch > > > > Signed-off-by: Douglas Anderson > > Signed-off-by: Yakir Yang > > (am from https://patchwork.kernel.org/patch/9223301/) > > Probably remove the "am from" line? It's not standard in upstream and > that link doesn't seem to go anywhere anymore... > > > > Signed-off-by: Sascha Hauer > > --- > > drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 ++-------------- > > 1 file changed, 2 insertions(+), 14 deletions(-) > > > > diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > index c44eb4d2e2d5..77f82a4fd027 100644 > > --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > @@ -176,20 +176,8 @@ 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 }, > > + }, { > > This is what we did for rk3288. I can't personally vouch for the > effects on other SoCs. Fair enough. Rockchip has this patch in their downstream Kernel, so I am confident it works on SoCs newer as the rk3288 as well. I don't know how much they care about the older SoCs, but it seems there is only the rk3228 that is older than the rk3288 that is supported by this driver. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CB1D7C433F5 for ; Thu, 27 Jan 2022 11:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=04Wj5D4XyR60sPG4sDoywiKpCss4zB4Cgva1PAnTz2U=; b=p2MeL60XacRKk9 NAfRxzQu25UybOhO/M0Vpp8ipel3U8f56WYv/Rpf6FAbEUr8bWtawsLls8zm/4Ly/CvIDYXdIr8GZ zW1UopOHLwHzg7goWlzTgInebhP86RSntu7SsZswu5fGsunjlGcsLBoA2FM+8Iy4KyVbqdcGylxWP HUNZ0g5XO5gkOEZaJExj70JwRaVLFB2C58pn7QvRJ364b/8N9HUiHrIwlRa+o/tOs6uPLCBeQJId+ B8XP02HZChwv4V27cNWRtI9jbQ/IE9PrTcGGt8f1/lbmRf33wozzDQN6NrpN6p+BtkbmpkmXVdqrc PiIiFEVvi+xXk8XQq+Dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD2bV-00FJ7G-6e; Thu, 27 Jan 2022 11:06:13 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD2bS-00FJ5Q-2G for linux-rockchip@lists.infradead.org; Thu, 27 Jan 2022 11:06:11 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD2bL-0002DW-0e; Thu, 27 Jan 2022 12:06:03 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nD2bK-0006qj-BK; Thu, 27 Jan 2022 12:06:02 +0100 Date: Thu, 27 Jan 2022 12:06:02 +0100 From: Sascha Hauer To: Doug Anderson Cc: dri-devel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Benjamin Gaignard , Peter Geis , Sandy Huang , "open list:ARM/Rockchip SoC..." , Michael Riesch , Sascha Hauer , Yakir Yang , Andy Yan , Linux ARM Subject: Re: [PATCH 09/27] drm/rockchip: dw_hdmi: Set cur_ctr to 0 always Message-ID: <20220127110602.GL23490@pengutronix.de> References: <20220126145549.617165-1-s.hauer@pengutronix.de> <20220126145549.617165-10-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 12:01:27 up 47 days, 19:47, 83 users, load average: 0.69, 0.35, 0.27 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-rockchip@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_030610_124763_F567AF30 X-CRM114-Status: GOOD ( 31.99 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Wed, Jan 26, 2022 at 07:42:48AM -0800, Doug Anderson wrote: > Hi, > > On Wed, Jan 26, 2022 at 6:58 AM Sascha Hauer wrote: > > > > From: Douglas Anderson > > > > 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. > > > > Changes since v3: > > - new patch > > > > Signed-off-by: Douglas Anderson > > Signed-off-by: Yakir Yang > > (am from https://patchwork.kernel.org/patch/9223301/) > > Probably remove the "am from" line? It's not standard in upstream and > that link doesn't seem to go anywhere anymore... > > > > Signed-off-by: Sascha Hauer > > --- > > drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 ++-------------- > > 1 file changed, 2 insertions(+), 14 deletions(-) > > > > diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > index c44eb4d2e2d5..77f82a4fd027 100644 > > --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > @@ -176,20 +176,8 @@ 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 }, > > + }, { > > This is what we did for rk3288. I can't personally vouch for the > effects on other SoCs. Fair enough. Rockchip has this patch in their downstream Kernel, so I am confident it works on SoCs newer as the rk3288 as well. I don't know how much they care about the older SoCs, but it seems there is only the rk3228 that is older than the rk3288 that is supported by this driver. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79D2CC433EF for ; Thu, 27 Jan 2022 11:06:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AA16910EEAB; Thu, 27 Jan 2022 11:06:05 +0000 (UTC) Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by gabe.freedesktop.org (Postfix) with ESMTPS id A87A210EEAB for ; Thu, 27 Jan 2022 11:06:04 +0000 (UTC) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD2bL-0002DW-0e; Thu, 27 Jan 2022 12:06:03 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nD2bK-0006qj-BK; Thu, 27 Jan 2022 12:06:02 +0100 Date: Thu, 27 Jan 2022 12:06:02 +0100 From: Sascha Hauer To: Doug Anderson Subject: Re: [PATCH 09/27] drm/rockchip: dw_hdmi: Set cur_ctr to 0 always Message-ID: <20220127110602.GL23490@pengutronix.de> References: <20220126145549.617165-1-s.hauer@pengutronix.de> <20220126145549.617165-10-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 12:01:27 up 47 days, 19:47, 83 users, load average: 0.69, 0.35, 0.27 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Benjamin Gaignard , Sascha Hauer , Sandy Huang , dri-devel , "open list:ARM/Rockchip SoC..." , Michael Riesch , Peter Geis , Yakir Yang , Andy Yan , Linux ARM Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Jan 26, 2022 at 07:42:48AM -0800, Doug Anderson wrote: > Hi, > > On Wed, Jan 26, 2022 at 6:58 AM Sascha Hauer wrote: > > > > From: Douglas Anderson > > > > 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. > > > > Changes since v3: > > - new patch > > > > Signed-off-by: Douglas Anderson > > Signed-off-by: Yakir Yang > > (am from https://patchwork.kernel.org/patch/9223301/) > > Probably remove the "am from" line? It's not standard in upstream and > that link doesn't seem to go anywhere anymore... > > > > Signed-off-by: Sascha Hauer > > --- > > drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 ++-------------- > > 1 file changed, 2 insertions(+), 14 deletions(-) > > > > diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > index c44eb4d2e2d5..77f82a4fd027 100644 > > --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > @@ -176,20 +176,8 @@ 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 }, > > + }, { > > This is what we did for rk3288. I can't personally vouch for the > effects on other SoCs. Fair enough. Rockchip has this patch in their downstream Kernel, so I am confident it works on SoCs newer as the rk3288 as well. I don't know how much they care about the older SoCs, but it seems there is only the rk3228 that is older than the rk3288 that is supported by this driver. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EEA26C433F5 for ; Thu, 27 Jan 2022 11:07:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7ZN1Wn7OJlJmExVgPwl3suvOtIE8ytPjRV3bAF/dxUk=; b=yBoxEYDZBy3P6R nLftQewwAUq6yBckj/ns0qALRrPY044Mk9MmvkDS5zQSD3noiUCfe/ylRrXsCw6n+z83Xc1rygjnE CZ1/hY6wcIRZG1bbfotOy/kqpQj2nAtFBZpG+2nG5/Tf6wrZe8kPscu+jvAiqjDVZrXIQmtYLzkIJ wvIYpXYRJyInMes/j+TYj9Om/1aresKihpOMnhoHN6XfVr8L09+oIt9UnS6wflxvlP0g9Togef9Oa fvnLIhEW6vmVIVv71vL/XqxKEuXesdxi5bukHo6gbhF3q+46GcEWJ7n+/m/aPdzikKfKGsxBzRqGC egd7BRIIrnqgtufXXfRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD2bY-00FJ8P-Ug; Thu, 27 Jan 2022 11:06:17 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD2bU-00FJ6S-2B for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 11:06:13 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD2bL-0002DW-0e; Thu, 27 Jan 2022 12:06:03 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nD2bK-0006qj-BK; Thu, 27 Jan 2022 12:06:02 +0100 Date: Thu, 27 Jan 2022 12:06:02 +0100 From: Sascha Hauer To: Doug Anderson Cc: dri-devel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Benjamin Gaignard , Peter Geis , Sandy Huang , "open list:ARM/Rockchip SoC..." , Michael Riesch , Sascha Hauer , Yakir Yang , Andy Yan , Linux ARM Subject: Re: [PATCH 09/27] drm/rockchip: dw_hdmi: Set cur_ctr to 0 always Message-ID: <20220127110602.GL23490@pengutronix.de> References: <20220126145549.617165-1-s.hauer@pengutronix.de> <20220126145549.617165-10-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 12:01:27 up 47 days, 19:47, 83 users, load average: 0.69, 0.35, 0.27 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_030612_119719_E758EC80 X-CRM114-Status: GOOD ( 32.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 26, 2022 at 07:42:48AM -0800, Doug Anderson wrote: > Hi, > > On Wed, Jan 26, 2022 at 6:58 AM Sascha Hauer wrote: > > > > From: Douglas Anderson > > > > 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. > > > > Changes since v3: > > - new patch > > > > Signed-off-by: Douglas Anderson > > Signed-off-by: Yakir Yang > > (am from https://patchwork.kernel.org/patch/9223301/) > > Probably remove the "am from" line? It's not standard in upstream and > that link doesn't seem to go anywhere anymore... > > > > Signed-off-by: Sascha Hauer > > --- > > drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16 ++-------------- > > 1 file changed, 2 insertions(+), 14 deletions(-) > > > > diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > index c44eb4d2e2d5..77f82a4fd027 100644 > > --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c > > @@ -176,20 +176,8 @@ 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 }, > > + }, { > > This is what we did for rk3288. I can't personally vouch for the > effects on other SoCs. Fair enough. Rockchip has this patch in their downstream Kernel, so I am confident it works on SoCs newer as the rk3288 as well. I don't know how much they care about the older SoCs, but it seems there is only the rk3228 that is older than the rk3288 that is supported by this driver. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel