diff options
| author | Tvrtko Ursulin <[email protected]> | 2016-12-13 14:37:27 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2016-12-15 13:31:26 +0000 |
| commit | 2bf0d26706f899e124a2b340dc0529386bb2b235 (patch) | |
| tree | 825d46bd0cee90097a0ed29964ebc99c624aeedf /tools/perf/scripts/python | |
| parent | 2ee7dc497e348eecbb82adbb1ea9e9a7e29fe921 (diff) | |
drm/i915: Optimise VMA lookup slightly
Cast VM pointers before substraction to save the compiler
doing a smart one which includes multiplication.
v2: Only keep the first optimisation and prettify it. (Chris Wilson)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions