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 /fs/ext4 | |
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 <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 'fs/ext4')
0 files changed, 0 insertions, 0 deletions