diff options
| author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-10-04 09:29:29 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-10-04 11:10:01 +0100 |
| commit | 9480dbf074417ef8b06ba3923b8648f49c85265b (patch) | |
| tree | 731a161ff86bbcc172c1bdf6d93674b5bee63a94 /scripts/stackusage | |
| parent | drm/i915: Use binary search when looking for shadowed registers (diff) | |
| download | linux-9480dbf074417ef8b06ba3923b8648f49c85265b.tar.gz linux-9480dbf074417ef8b06ba3923b8648f49c85265b.zip | |
drm/i915: Inline binary search
Instead of using bsearch library function make a local generator
macro out of it so the comparison callback can be inlined.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1475569769-31108-1-git-send-email-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
