diff options
| author | Chris Wilson <[email protected]> | 2017-09-13 11:51:53 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-09-13 13:27:20 +0100 |
| commit | 3123698f50fe4ac9ddb775dcd2b34a1d9cdd603f (patch) | |
| tree | 19bf0a89fe2f609d5bb4a8cdbfb00c20ed280502 /tools/perf/scripts/python/bin | |
| parent | e60b36f76c2ee0ba90b431daa534bc262798fb26 (diff) | |
drm/i915: Use mul_u32_u32() for 32b x 32b -> 64b result
As realised by commit 9e3d6223d209 ("math64, timers: Fix 32bit
mul_u64_u32_shr() and friends"), GCC does not always generate ideal code
for performing a 32b x 32b multiply returning a 64b result (i.e. where
we idiomatically use u64 result = (u64)x * (u32)x). This catches a
couple of instances in the display code using (u64)x * (u32)y.
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions