Re: [Mesa-dev] [PATCH] i965: Check if unsynchronized map fails in BufferSubData.

2014-09-11 Thread Tapani Pälli
Reviewed-by: Tapani Pälli On 09/12/2014 09:43 AM, Kenneth Graunke wrote: > This patch fixes a NULL pointer dereference in a test case which > allocates piles of buffers without ever freeing them, and repeatedly > tries to upload/fetch data to/from those buffers, without doing any > other work (su

[Mesa-dev] [PATCH] i965: Check if unsynchronized map fails in BufferSubData.

2014-09-11 Thread Kenneth Graunke
This patch fixes a NULL pointer dereference in a test case which allocates piles of buffers without ever freeing them, and repeatedly tries to upload/fetch data to/from those buffers, without doing any other work (such as rendering). The same problem exists in a variety of other places, some of wh