[PATCH v11 10/12] backlight: pwm_bl: Use 64-bit division function

Daniel Thompson daniel.thompson at linaro.org
Tue Mar 24 13:04:10 UTC 2020


On Tue, Mar 24, 2020 at 01:57:35PM +0100, Uwe Kleine-König wrote:
> 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 datatype
> > > > to u64, prepare for this transition by using div_u64 to handle a 64-bit
> > > > dividend instead of a straight division operation.
> > > > 
> > > > Cc: Lee Jones <lee.jones at linaro.org>
> > > > Cc: Daniel Thompson <daniel.thompson at linaro.org>
> > > > Cc: Jingoo Han <jingoohan1 at gmail.com>
> > > > Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> > > > Cc: linux-pwm at vger.kernel.org
> > > > Cc: dri-devel at lists.freedesktop.org
> > > > Cc: linux-fbdev at vger.kernel.org
> > > > 
> > > > Signed-off-by: Guru Das Srinagesh <gurus at codeaurora.org>
> > > > Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
> > > > ---
> > > >  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.

... and on the backlight side we definitely need to know about the "if"
otherwise there's no point in taking it.


Daniel.


More information about the dri-devel mailing list