[Intel-gfx] [PATCH 8/9] drm/i915/cmdparser: Use binary search for faster register lookup

Matthew Auld matthew.william.auld at gmail.com
Fri Aug 12 16:04:12 UTC 2016


On 12 August 2016 at 16:07, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> A signifcant proportion of the cmdparsing time for some batches is the
> cost to find the register in the mmiotable. We ensure that those tables
> are in ascending order such that we could do a binary search if it was
> ever merited. It is.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cool.
s/signifcant/significant/

Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list