aboutsummaryrefslogtreecommitdiffstats
path: root/tools/workqueue
diff options
context:
space:
mode:
authorSamson Tam <Samson.Tam@amd.com>2025-01-07 14:17:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-02-25 11:44:02 -0500
commit259eacbfcf66c52384bf4e194fd34939b6007265 (patch)
tree38d1a61554c25bdba3657bb595ad5c160ce64c3d /tools/workqueue
parentdrm/amd/display: fix check for identity ratio (diff)
downloadlinux-259eacbfcf66c52384bf4e194fd34939b6007265.tar.gz
linux-259eacbfcf66c52384bf4e194fd34939b6007265.zip
drm/amd/display: Fix unit test failure
[Why] Some of unit tests use large scaling ratio such that when we calculate optimal number of taps, max_taps is negative. Then in recent change, we changed max_taps to uint instead of int so now max_taps wraps and is positive. This change changed the behaviour from returning back false to return true and breaks unit test check [How] Add check to prevent max_taps from wrapping and set to 0 instead Signed-off-by: Samson Tam <Samson.Tam@amd.com> Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/workqueue')
0 files changed, 0 insertions, 0 deletions