diff options
| author | Wenjing Liu <wenjing.liu@amd.com> | 2022-09-22 14:22:04 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-10-06 11:59:41 -0400 |
| commit | 283e0a673cdf59fe103707ac0466492b315c81a2 (patch) | |
| tree | 8f395e8dce7c7a02ee01513a2827b3b46381b038 /tools/perf/scripts/python/bin | |
| parent | drm/amd/display: Disable GSL when enabling phantom pipe (diff) | |
| download | linux-283e0a673cdf59fe103707ac0466492b315c81a2.tar.gz linux-283e0a673cdf59fe103707ac0466492b315c81a2.zip | |
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 <Eric.Bernstein@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
