summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorChris Park <chris.park@amd.com>2024-05-27 21:21:30 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 16:17:15 -0400
commit8362061eed6761a36866876ba2dd00ec638a13b4 (patch)
tree303965f6e9c65f5df230f0ae3f1d4a90318bdcb4 /scripts/gdb
parented79ab5a07c1cb4bb05422ac6e794e40c4c1484c (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 <alvin.lee2@amd.com> Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Signed-off-by: Chris Park <chris.park@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions