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
..
2025-02-25 11:44:02 -05:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-05 12:35:42 +02:00
2024-12-13 08:48:09 +10:00
2025-01-23 14:42:21 +01:00
2024-12-12 18:26:32 +01:00
2025-01-23 14:42:21 +01:00
2025-01-10 10:55:06 +10:00
2025-01-04 08:47:10 +02:00
2024-12-13 15:20:40 +01:00
2024-12-05 12:35:42 +02:00
2024-12-05 12:35:42 +02:00
2025-01-03 12:42:10 +02:00
2024-12-05 12:35:42 +02:00
2025-01-04 08:47:10 +02:00
2025-01-28 13:48:37 +01:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-05 12:35:42 +02:00
2024-12-13 08:48:09 +10:00
2025-01-28 12:25:12 -08:00
2024-12-13 08:48:09 +10:00
2024-12-05 12:35:42 +02:00
2025-01-21 17:10:05 -08:00
2024-12-13 08:48:09 +10:00
2025-01-26 17:50:53 -08:00
2024-12-13 08:48:09 +10:00
2025-01-10 14:24:17 +10:00
2024-12-13 08:48:09 +10:00
2024-12-17 10:56:12 +01:00
2024-12-05 12:35:42 +02:00
2024-12-05 12:35:42 +02:00
2025-02-12 21:02:56 -05:00
2024-12-17 15:13:04 +02:00
2025-01-05 17:00:06 +01:00
2024-12-19 16:03:56 +01:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2025-01-04 08:47:10 +02:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2025-01-23 14:42:21 +01:00
2024-12-13 08:48:09 +10:00
2024-12-13 08:48:09 +10:00
2025-01-24 11:26:41 +01:00
2025-01-11 07:20:29 +10:00
2024-12-13 08:48:09 +10:00
2024-12-05 12:35:42 +02:00
2025-01-23 16:15:01 -03:00
2024-12-05 12:35:42 +02:00
2025-01-04 08:47:11 +02:00
2024-12-05 12:35:42 +02:00
2025-01-19 15:12:28 +03:00
2024-12-05 12:35:42 +02:00
2025-01-23 14:42:21 +01:00
2025-01-28 13:48:37 +01:00
2024-12-05 12:35:42 +02:00
2025-01-24 17:06:06 +01:00
2025-01-13 11:18:20 +02:00
2025-01-21 11:41:05 +01:00
2025-01-23 14:42:21 +01:00
2024-12-10 14:36:41 +01:00
2024-12-10 14:36:41 +01:00
2025-01-06 17:25:35 +01:00
2024-12-16 18:02:07 +02:00
2025-01-21 11:39:34 +01:00
2024-12-19 16:56:17 +01:00
2024-11-25 16:09:48 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-17 15:43:04 +02:00
2025-01-10 14:24:17 +10:00
2024-11-12 13:05:35 +01:00
2024-11-21 09:28:15 -06:00
2024-11-21 14:56:17 -08:00
2025-01-03 11:17:09 -06:00
2024-12-16 21:48:45 +01:00
2024-12-10 14:36:41 +01:00
2024-12-02 11:34:44 -08:00
2024-12-10 14:08:40 +02:00
2025-01-08 18:15:03 +01:00
2025-01-24 11:26:41 +01:00
2024-12-10 14:36:41 +01:00