commit | 24719e94ca2a9397f1385da4bce6a7adea1868a7 | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Mon Oct 22 12:20:00 2018 +0200 |
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Wed Oct 24 10:28:44 2018 +0200 |
tree | 037c6e60b76e5b8b4ca341664bf3fde890c83655 | |
parent | 3aae21fc2ed4e2b6b417e81a0d39bfa590e8510d [diff] |
drm/i915: Fix unsigned overflow when calculating total data rate, v2. On gen11, we can definitely smash the 32-bits barrier with just a when we enable all planes in the next patch. Changes since v1: - Use div64_u64 (ickle). Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181022102000.30255-1-maarten.lankhorst@linux.intel.com