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@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... :)