commit | 9480dbf074417ef8b06ba3923b8648f49c85265b | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue Oct 04 09:29:29 2016 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Tue Oct 04 11:10:01 2016 +0100 |
tree | 731a161ff86bbcc172c1bdf6d93674b5bee63a94 | |
parent | 5a659383816aa548e7a1049d3dd5dd552966acac [diff] |
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