aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMario Kleiner <[email protected]>2017-06-13 07:17:10 +0200
committerAlex Deucher <[email protected]>2017-06-14 09:25:05 -0400
commitbea10413934dcf98cb9b2dfcdc56e1d28f192897 (patch)
treefb212e9eb3c8a951b71dbcbd292fe4d633b9a57b /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc0f83da96b906ea331e2eea2bd5d2e7f221d27ab (diff)
drm/amdgpu: Fix overflow of watermark calcs at > 4k resolutions.
Commit d63c277dc672e0 ("drm/amdgpu: Make display watermark calculations more accurate") made watermark calculations more accurate, but not for > 4k resolutions on 32-Bit architectures, as it introduced an integer overflow for those setups and resolutions. Fix this by proper u64 casting and division. Signed-off-by: Mario Kleiner <[email protected]> Reported-by: Ben Hutchings <[email protected]> Fixes: d63c277dc672 ("drm/amdgpu: Make display watermark calculations more accurate") Cc: Ben Hutchings <[email protected]> Cc: Alex Deucher <[email protected]> Cc: [email protected] Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions