Files
linux/drivers/gpu/drm/amd/display/dc
Samson Tam 259eacbfcf 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>
2025-02-25 11:44:02 -05:00
..
2024-07-23 17:07:11 -04:00
2024-07-27 17:31:26 -04:00
2025-02-12 21:04:07 -05:00
2025-02-12 21:04:07 -05:00
2024-07-23 17:07:10 -04:00
2025-02-19 15:14:33 -05:00