[REGRESSION] [PATCH] drm/amd/display: fix initial backlight brightness calculation

Lauri Tirkkonen lauri at hacktheplanet.fi
Mon Jul 21 00:51:58 UTC 2025


On Sun, Jul 20 2025 12:26:48 +0200, Greg Kroah-Hartman wrote:
> On Sun, Jul 20, 2025 at 06:36:54PM +0900, Lauri Tirkkonen wrote:
> > DIV_ROUND_CLOSEST(x, 100) returns either 0 or 1 if 0<x<=100, so the
> > division needs to be performed after the multiplication and not the
> > other way around, to properly scale the value.
> > 
> > Fixes: 6c56c8ec6f97 ("drm/amd/display: Fix default DC and AC levels")
> 
> This should be a commit id in Linus's tree, NOT in just one stable
> branch.
> 
> Also, you forgot to add a cc: stable at vger.kernel.org so that it will be
> picked up by a stable release.

Thank Greg, let me try again. First time sending a patch, so... :)

-- 
Lauri Tirkkonen | lotheac @ IRCnet


More information about the amd-gfx mailing list