[REGRESSION] [PATCH] drm/amd/display: fix initial backlight brightness calculation
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Sun Jul 20 10:26:48 UTC 2025
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.
thanks,
greg k-h
More information about the amd-gfx
mailing list