aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-10-04 09:29:21 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-10-04 11:09:59 +0100
commit91e630b9e636954708e933015e7f02f8bcd8b320 (patch)
tree74768d392f61452f913ca529bb4153f1d641bab7 /scripts/stackusage
parentdrm/i915: Sort forcewake mapping tables (diff)
downloadlinux-91e630b9e636954708e933015e7f02f8bcd8b320.tar.gz
linux-91e630b9e636954708e933015e7f02f8bcd8b320.zip
drm/i915: Use binary search when looking up forcewake domains
Instead of the existing linear seach, now that we have sorted range tables, we can do a binary search on them for some potential miniscule performance gain, but more importantly for elegance and code size. Hopefully the perfomance gain is sufficient to offset the function calls which were not there before. v2: Removed const cast away. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions