summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-03 11:50:35 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-03 15:52:56 +0000
commita3a1e5336c41ab3763c64152df5f868cb91d20bf (patch)
tree1f50a376d428e7f3b1959060bf3fe21787dece90 /tools/perf/scripts/python/bin/stackcollapse-report
parent52da22e7aba155be238faff4f6e97b2eb9de64f3 (diff)
downloadkernel-a3a1e5336c41ab3763c64152df5f868cb91d20bf.tar.gz
drm/i915: Tidy the tail of i915_tiling_ok()
The current tail breaks the pattern of if (check) return false, which can catch the reader out. If we move the gen2/3 power-of-two test into the earlier gen2/3 branch, we can eliminate the contrary tail. Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170203115036.24743-1-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions