Re: [Mesa-dev] [PATCH v2 2/2] i965: Add calls to nonblocking maps

2011-10-06 Thread Eric Anholt
On Fri, 30 Sep 2011 20:59:40 -0700, Ben Widawsky wrote: > When mapping a range of a buffer that has the UNSYNCHRONIZED_BIT, and is > only writable, we can take some shortcuts and let people shoot their > feet. Mesa patches to rely on new libdrm functionality need that libdrm released and need to

[Mesa-dev] [PATCH v2 2/2] i965: Add calls to nonblocking maps

2011-09-30 Thread Ben Widawsky
When mapping a range of a buffer that has the UNSYNCHRONIZED_BIT, and is only writable, we can take some shortcuts and let people shoot their feet. Cc: Eric Anholt Signed-off-by: Ben Widawsky --- src/mesa/drivers/dri/intel/intel_buffer_objects.c | 34 ++-- src/mesa/drivers/dri

[Mesa-dev] [PATCH v2 2/2] i965: Add calls to nonblocking maps

2011-09-23 Thread Ben Widawsky
When mapping a range of a buffer that has the UNSYNCHRONIZED_BIT, and is only writable, we can take some shortcuts and let people shoot their feet. Cc: Eric Anholt Cc: Mesa Devs Signed-off-by: Ben Widawsky --- src/mesa/drivers/dri/intel/intel_buffer_objects.c | 35 ++-- src/m