Re: [Mesa-dev] [PATCH v2 7/8] anv: elide relocations to pinned target bos

2018-05-08 Thread Jordan Justen
For the commit message, I have a suggestion: --- anv: for pinned BOs, skip relocations, but track bo usage References to pinned BOs won't need to be relocated, so just write the final value of the reference into the bo. Add a `set` to the relocation lists for tracking dependencies that were pre

Re: [Mesa-dev] [PATCH v2 7/8] anv: elide relocations to pinned target bos

2018-05-08 Thread Jason Ekstrand
On Mon, May 7, 2018 at 5:30 PM, Scott D Phillips wrote: > References to pinned bos won't need relocated, so just write the > final value of the reference into the bo. Add a `set` to the > relocation lists for tracking dependencies that were previously > tracked by relocations. > > v2: - visit bos

[Mesa-dev] [PATCH v2 7/8] anv: elide relocations to pinned target bos

2018-05-07 Thread Scott D Phillips
References to pinned bos won't need relocated, so just write the final value of the reference into the bo. Add a `set` to the relocation lists for tracking dependencies that were previously tracked by relocations. v2: - visit bos from the dependency set in a deterministic order (Jason) --- src/in