Skip to content
Commit d08c4e23 authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Fix potential overflows in ilk ips calculations



A bunch of the ips calculations require 64bit math. In particular
'corr' and 'corr2' look like they can overflow on 32bit systems.
Switch to explicit u64 for those.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201021131443.25616-3-ville.syrjala@linux.intel.com
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent e82351e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment