Re: [Mesa-dev] [PATCH v2 03/15] i965: Use a WC map and memcpy for the batch instead of pwrite.

2017-09-13 Thread Kenneth Graunke
On Wednesday, September 13, 2017 3:51:03 PM PDT Matt Turner wrote: > On 09/13, Kenneth Graunke wrote: > >We'd like to eliminate the malloc'd shadow copy eventually, but there > >are still unresolved performance problems. In the meantime, let's at > >least get rid of pwrite. > > I don't know much

Re: [Mesa-dev] [PATCH v2 03/15] i965: Use a WC map and memcpy for the batch instead of pwrite.

2017-09-13 Thread Matt Turner
On 09/13, Kenneth Graunke wrote: We'd like to eliminate the malloc'd shadow copy eventually, but there are still unresolved performance problems. In the meantime, let's at least get rid of pwrite. I don't know much about this. What is wrong with pwrite, and why is WC better? Does this change

[Mesa-dev] [PATCH v2 03/15] i965: Use a WC map and memcpy for the batch instead of pwrite.

2017-09-13 Thread Kenneth Graunke
We'd like to eliminate the malloc'd shadow copy eventually, but there are still unresolved performance problems. In the meantime, let's at least get rid of pwrite. --- src/mesa/drivers/dri/i965/intel_batchbuffer.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff