commit | a74fc3fe8ada87e1fedeea86f2d93f736a1217bc | [log] [tgz] |
---|---|---|
author | Matt Turner <mattst88@gmail.com> | Tue Nov 24 17:17:29 2015 -0800 |
committer | Matt Turner <mattst88@gmail.com> | Wed Mar 30 13:12:34 2016 -0700 |
tree | 85f6845d7d204e081053c91a0ddfc4878db0663e | |
parent | 1faca438bdbf11d85a6158d41ea91cab40fc2033 [diff] |
i965: Don't inline intel_batchbuffer_require_space(). It's called by the inline intel_batchbuffer_begin() function which itself is used in BEGIN_BATCH. So in sequence of code emitting multiple packets, we have inlined this ~200 byte function multiple times. Making it an out-of-line function presumably improved icache usage. Improves performance of Gl32Batch7 by 3.39898% +/- 0.358674% (n=155) on Ivybridge. Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>