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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D544C4332B for ; Tue, 24 Mar 2020 12:57:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 476E32080C for ; Tue, 24 Mar 2020 12:57:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 476E32080C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A16C16E479; Tue, 24 Mar 2020 12:57:45 +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 B69C26E479 for ; Tue, 24 Mar 2020 12:57:44 +0000 (UTC) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGj7g-0004Dw-PA; Tue, 24 Mar 2020 13:57:36 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jGj7f-0004jx-Iq; Tue, 24 Mar 2020 13:57:35 +0100 Date: Tue, 24 Mar 2020 13:57:35 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Lee Jones , Thierry Reding Subject: Re: [PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function Message-ID: <20200324125735.2mjuvbxt5bpon2ft@pengutronix.de> References: <17fc1dcf8b9b392d1e37dc7e3e67409e3c502840.1584667964.git.gurus@codeaurora.org> <20200320133123.GD5477@dell> <20200324110710.GL5477@dell> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200324110710.GL5477@dell> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@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: Guru Das Srinagesh , Daniel Thompson , linux-pwm@vger.kernel.org, Jingoo Han , Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Subbaraman Narayanamurthy Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello Lee, On Tue, Mar 24, 2020 at 11:07:10AM +0000, Lee Jones wrote: > On Fri, 20 Mar 2020, Lee Jones wrote: > = > > On Thu, 19 Mar 2020, Guru Das Srinagesh wrote: > > = > > > Since the PWM framework is switching struct pwm_state.period's dataty= pe > > > to u64, prepare for this transition by using div_u64 to handle a 64-b= it > > > dividend instead of a straight division operation. > > > = > > > Cc: Lee Jones > > > Cc: Daniel Thompson > > > Cc: Jingoo Han > > > Cc: Bartlomiej Zolnierkiewicz > > > Cc: linux-pwm@vger.kernel.org > > > Cc: dri-devel@lists.freedesktop.org > > > Cc: linux-fbdev@vger.kernel.org > > > = > > > Signed-off-by: Guru Das Srinagesh > > > Reviewed-by: Daniel Thompson > > > --- > > > drivers/video/backlight/pwm_bl.c | 3 ++- > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > = > > Can this patch be taken on its own? > = > Hellooooo ... Conceptually it can. As the last patch depends on this one (and the others) some coordination might be beneficial. But that's up to Thierry to decide how (and if) he want this series to be applied. Best regards Uwe -- = Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel