diff options
| author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-12-13 14:37:27 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-12-15 13:31:26 +0000 |
| commit | 2bf0d26706f899e124a2b340dc0529386bb2b235 (patch) | |
| tree | 825d46bd0cee90097a0ed29964ebc99c624aeedf /tools/perf/scripts/python | |
| parent | drm/i915: disable PSR by default on HSW/BDW (diff) | |
| download | linux-2bf0d26706f899e124a2b340dc0529386bb2b235.tar.gz linux-2bf0d26706f899e124a2b340dc0529386bb2b235.zip | |
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 <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1481639847-9214-1-git-send-email-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
