diff options
author | Chris Park <[email protected]> | 2024-05-27 21:21:30 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-06-14 16:17:15 -0400 |
commit | 8362061eed6761a36866876ba2dd00ec638a13b4 (patch) | |
tree | 303965f6e9c65f5df230f0ae3f1d4a90318bdcb4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | ed79ab5a07c1cb4bb05422ac6e794e40c4c1484c (diff) |
drm/amd/display: Prevent overflow on DTO calculation
[Why]
uint32_t is implicitly converted to uint64_t while multiplication
still happens on uint32_t side. This creates digit overflow
for large pixel clock which is meant to be retained in uint64_t.
[How]
Calculate multiplication of units in uint64_t domain instead of
uint32_t in DTO parameter clock caculation.
Reviewed-by: Alvin Lee <[email protected]>
Acked-by: Zaeem Mohamed <[email protected]>
Signed-off-by: Chris Park <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions