diff options
| author | Matthew Auld <matthew.auld@intel.com> | 2016-12-13 20:32:21 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-16 21:19:16 +0000 |
| commit | 86e61735710902535ebd00decc035f5e129a377e (patch) | |
| tree | 05f21a053245ed8728e903fab750fbfc3f6a8dac /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | drm/i915: move vma sanity checking into i915_vma_bind (diff) | |
| download | linux-86e61735710902535ebd00decc035f5e129a377e.tar.gz linux-86e61735710902535ebd00decc035f5e129a377e.zip | |
drm/i915: introduce range_overflows utility macros
In a number places we hand-roll the overflow sanity check for ranges, so
roll that into single macro, conceived by Chris, along with its typed
variant.
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161213203222.32564-3-matthew.auld@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
