Re: [Mesa-dev] [PATCH] i965/drm: Inline brw_bo_references.

2017-07-30 Thread Jason Ekstrand
Rb On July 30, 2017 4:08:48 PM Kenneth Graunke wrote: It's a single atomic add, so it makes sense to inline it. Improves performance in Piglit's drawoverhead microbenchmark's "DrawArrays ( 1 VBO, 0 UBO, 0) w/ no state change" subtest by 0.400922% +/- 0.310389% (n=350) on my i7-7700HQ. -

[Mesa-dev] [PATCH] i965/drm: Inline brw_bo_references.

2017-07-30 Thread Kenneth Graunke
It's a single atomic add, so it makes sense to inline it. Improves performance in Piglit's drawoverhead microbenchmark's "DrawArrays ( 1 VBO, 0 UBO, 0) w/ no state change" subtest by 0.400922% +/- 0.310389% (n=350) on my i7-7700HQ. --- src/mesa/drivers/dri/i965/brw_bufmgr.c | 6 -- src/m