Re: [Mesa-dev] [PATCH 10/16] i965: Add and use brw_bo_map()

2017-05-31 Thread Matt Turner
On Fri, May 26, 2017 at 1:55 AM, Kenneth Graunke wrote: > On Wednesday, May 24, 2017 1:04:52 PM PDT Matt Turner wrote: >> We can encapsulate the logic for choosing the mapping type. This will >> also help when we add WC mappings. > > It might be worth mentioning that this patch changes a few mappi

Re: [Mesa-dev] [PATCH 10/16] i965: Add and use brw_bo_map()

2017-05-30 Thread Daniel Vetter
On Fri, May 26, 2017 at 01:55:47AM -0700, Kenneth Graunke wrote: > On Wednesday, May 24, 2017 1:04:52 PM PDT Matt Turner wrote: > > We can encapsulate the logic for choosing the mapping type. This will > > also help when we add WC mappings. > > It might be worth mentioning that this patch changes

Re: [Mesa-dev] [PATCH 10/16] i965: Add and use brw_bo_map()

2017-05-26 Thread Kenneth Graunke
On Wednesday, May 24, 2017 1:04:52 PM PDT Matt Turner wrote: > We can encapsulate the logic for choosing the mapping type. This will > also help when we add WC mappings. It might be worth mentioning that this patch changes a few mappings from CPU to GTT on non-LLC systems. They may even be bug fi

[Mesa-dev] [PATCH 10/16] i965: Add and use brw_bo_map()

2017-05-24 Thread Matt Turner
We can encapsulate the logic for choosing the mapping type. This will also help when we add WC mappings. --- src/mesa/drivers/dri/i965/brw_bufmgr.c| 30 +-- src/mesa/drivers/dri/i965/brw_bufmgr.h| 5 ++-- src/mesa/drivers/dri/i965/brw_performance_query.