diff options
| author | Wenjing Liu <[email protected]> | 2022-09-22 14:22:04 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-10-06 11:59:41 -0400 |
| commit | 283e0a673cdf59fe103707ac0466492b315c81a2 (patch) | |
| tree | 8f395e8dce7c7a02ee01513a2827b3b46381b038 /tools/perf/scripts/python | |
| parent | 40169e2f37127b7fe60736045b1f9fc04f76b471 (diff) | |
drm/amd/display: fix integer overflow during MSA V_Freq calculation
[why]
Analyzer shows incorrect V freq in MSA for some large timing.
[how]
Cast an 32 bit integer to uint64_t before multiplication to avoid
integer overflow for a very large timing.
Reviewed-by: Ariel Bernstein <[email protected]>
Acked-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions