diff options
author | Chris Wilson <[email protected]> | 2017-07-21 16:36:46 +0100 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-08-04 10:26:37 -0700 |
commit | 00f822ddfd1230f0291e84e09db6e2dab4698b15 (patch) | |
tree | 4977503be6c6623f190347664d6e01aee42bd773 /Android.common.mk | |
parent | 2410deefff2d1551fabfefa4d0ef48e8d9b73bc2 (diff) |
i965: Track last location of bo used for the batch
Borrow a trick from anv, and use the last known index for the bo to skip
a search of the batch->exec_bo when adding a new relocation. In defence
against the bo being used in multiple batches simultaneously, we check
that this slot exists and points back to us.
v2: Also update brw_batch_references()
v3: Reset bo->index on creation (Daniel)
v4: Improved explanation of bo->index (Kenneth)
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions