diff options
author | Chris Wilson <[email protected]> | 2016-08-18 17:17:17 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-08-18 22:37:01 +0100 |
commit | 76ff480ec9633d689a14e15bc0e3d10a84e6853b (patch) | |
tree | 81d5fd10594dff058fa458744303e06368f7c22a /tools/perf | |
parent | ea884f09e59951af54976881337309e76b00ec20 (diff) |
drm/i915/cmdparser: Use binary search for faster register lookup
A significant 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 <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions