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

Matt Turner mattst88 at gmail.com
Wed May 31 21:20:34 UTC 2017


On Fri, May 26, 2017 at 1:55 AM, Kenneth Graunke <kenneth at whitecape.org> 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 mappings from
> CPU to GTT on non-LLC systems.  They may even be bug fixes...
>
> I'll call them out below...

Thanks. I've added the following to the commit message:

A few functional changes are made in this patch. On non-LLC, what were
previously WB mappings are now GTT mappings (in the prefilling debug
code in brw_performance_query.c; the shader_time code in brw_program.c;
and in the case of an RW mapping in intel_buffer_objects.c).


More information about the mesa-dev mailing list