diff options
author | Scott D Phillips <[email protected]> | 2018-03-13 10:57:39 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-01 14:27:10 -0700 |
commit | 27cc68d9e90c8d2031383fa6dc28fe910a351eb6 (patch) | |
tree | 605ec95eb4117756ec3ab60aad6b71f6677d53e8 /src/intel/vulkan/anv_device.c | |
parent | c7db0ed4e94dce563d722e1b098684fbd7315d51 (diff) |
anv: For pinned BOs, skip relocations, but track bo usage
References to pinned BOs won't need to be relocated at a later
point, so just write the final value of the reference into the bo
directly.
Add a `set` to the relocation lists for tracking dependencies that
were previously tracked by relocations. When a batch is executed, we
add the referenced pinned BOs to the exec list.
v2: - visit bos from the dependency set in a deterministic order (Jason)
v3: - compar => compare, drat (Jason)
- Reworded commit message, provided by (Jordan)
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
0 files changed, 0 insertions, 0 deletions