Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2574901ybt; Fri, 3 Jul 2020 12:37:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnuq5MysYPSKpbwRtQj3fVfKajuwqbRmy+NghnfzU2XF0SR+wFvOzMgvtPoPkCDLEevCOE X-Received: by 2002:a17:906:5283:: with SMTP id c3mr31700832ejm.22.1593805063303; Fri, 03 Jul 2020 12:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593805063; cv=none; d=google.com; s=arc-20160816; b=A8XEHRRDlZJJux1abKOFx2GEYEhztPRZqgm7W4hyQEiiCNNVEBdj8uT0oAAVDlpjn5 7oLR32C0x2TQeP4BGXerOmX9cY5Jnb/3684TmyD1Y/785Q8rKHlvqLcULsH/Mtt1SX+r kGgDWzj28A7sV7MDkY0l6HqGib9tDrGhSe2BYh0LxVF/tK3OfBssCbA0pyghc9S8tOZV FJzSLXJP6h4+6JCaURTHZGlW72Yd/Vu4BzWktcUiTcXUPyL4MEHOPxNYpELoe5rmnfLA 2PFyXgfC19CJ1/IKD5G9WfyloZBPBWHe6IZnF0LkoGmQsGUrXMjXhMVYzHb/d9qxTt1O YU7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=9IdHlFIu7pBV7u+x1fGSVW26HDhKQ81yuzuLexsRylU=; b=SnssWzPYeeD9JhIFYvVDfFQ5T/f8y2MU2zxeZuPLtgTIkSd9V2h8rL29DBIPyqpiDs z9peyDa2RkXVo5t59sPnnKFLTIaAqYUPSp0YoToXQ7OImlifZiKn9cY5nUAp7nq6davn SWuiV/cLcUORHkxc3pvVDKc6MDgld1NYM6pbn0SwZoyaZCvw/vSoqoByx4O0J1opqkbE FfmeG79feO54fmPGMGWcqzB0Na5VNDLtKDbTi5Mh9dC35Xzex2aK51hs2yLu8Ex9YUZ/ OY2TA8bmSWgp1YQQtknr9mUauKnusiEu262if9dmVN/FVSWtaNWcWFYURAGOMnWE8LGR V/Wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si8093857ejb.557.2020.07.03.12.37.18; Fri, 03 Jul 2020 12:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726760AbgGCTgz (ORCPT + 99 others); Fri, 3 Jul 2020 15:36:55 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:51528 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbgGCTgz (ORCPT ); Fri, 3 Jul 2020 15:36:55 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 016FA804F9; Fri, 3 Jul 2020 21:36:49 +0200 (CEST) Date: Fri, 3 Jul 2020 21:36:48 +0200 From: Sam Ravnborg To: Tomi Valkeinen Cc: Adam Ford , linux-fbdev@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, stable@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH] omapfb: dss: Fix max fclk divider for omap36xx Message-ID: <20200703193648.GA373653@ravnborg.org> References: <20200630182636.439015-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=aP3eV41m c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=sozttTNsAAAA:8 a=P1BnusSwAAAA:8 a=7gkXJVJtAAAA:8 a=hD80L64hAAAA:8 a=i0EeH86SAAAA:8 a=e5mUnYsNAAAA:8 a=0HEiEkm5zgkht_cWyOUA:9 a=CjuIK1q_8ugA:10 a=AjGcO6oz07-iQ99wixmX:22 a=aeg5Gbbo78KNqacMgKqU:22 a=D0XLA9XvdZm18NrgonBM:22 a=E9Po1WZjFZOl8hwRPBS3:22 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tomi. On Fri, Jul 03, 2020 at 10:17:29AM +0300, Tomi Valkeinen wrote: > On 30/06/2020 21:26, Adam Ford wrote: > > The drm/omap driver was fixed to correct an issue where using a > > divider of 32 breaks the DSS despite the TRM stating 32 is a valid > > number. Through experimentation, it appears that 31 works, and > > it is consistent with the value used by the drm/omap driver. > > > > This patch fixes the divider for fbdev driver instead of the drm. > > > > Fixes: f76ee892a99e ("omapfb: copy omapdss & displays for omapfb") > > > > Cc: #4.9+ > > Signed-off-by: Adam Ford > > --- > > Linux 4.4 will need a similar patch, but it doesn't apply cleanly. > > > > The DRM version of this same fix is: > > e2c4ed148cf3 ("drm/omap: fix max fclk divider for omap36xx") > > > > > > diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss.c b/drivers/video/fbdev/omap2/omapfb/dss/dss.c > > index 7252d22dd117..bfc5c4c5a26a 100644 > > --- a/drivers/video/fbdev/omap2/omapfb/dss/dss.c > > +++ b/drivers/video/fbdev/omap2/omapfb/dss/dss.c > > @@ -833,7 +833,7 @@ static const struct dss_features omap34xx_dss_feats = { > > }; > > static const struct dss_features omap3630_dss_feats = { > > - .fck_div_max = 32, > > + .fck_div_max = 31, > > .dss_fck_multiplier = 1, > > .parent_clk_name = "dpll4_ck", > > .dpi_select_source = &dss_dpi_select_source_omap2_omap3, > > > > Reviewed-by: Tomi Valkeinen Will you apply to drm-misc? Note following output from "dim fixes": $ dim fixes f76ee892a99e Fixes: f76ee892a99e ("omapfb: copy omapdss & displays for omapfb") Cc: Tomi Valkeinen Cc: Dave Airlie Cc: Rob Clark Cc: Laurent Pinchart Cc: Sam Ravnborg Cc: Bartlomiej Zolnierkiewicz Cc: Jason Yan Cc: "Andrew F. Davis" Cc: YueHaibing Cc: # v4.5+ Here it says the fix is valid from v4.5 onwards. Sam > > Tomi > > -- > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel