Re: [Mesa-dev] [PATCH] i965: Do not used purged bo after calling glObjectUnpurgeable

2016-08-13 Thread Kenneth Graunke
On Saturday, August 13, 2016 12:59:46 PM PDT Chris Wilson wrote: > If the buffer has been freed by the kernel under memory pressure, it is > invalid to try and access the backing storage for that buffer in the > future - the backing storage is not recreated automatically. As such we > need to mark

Re: [Mesa-dev] [PATCH] i965: Do not used purged bo after calling glObjectUnpurgeable

2016-08-13 Thread Chris Wilson
On Sat, Aug 13, 2016 at 12:59:46PM +0100, Chris Wilson wrote: > If the buffer has been freed by the kernel under memory pressure, it is > invalid to try and access the backing storage for that buffer in the > future - the backing storage is not recreated automatically. As such we > need to mark the

[Mesa-dev] [PATCH] i965: Do not used purged bo after calling glObjectUnpurgeable

2016-08-13 Thread Chris Wilson
If the buffer has been freed by the kernel under memory pressure, it is invalid to try and access the backing storage for that buffer in the future - the backing storage is not recreated automatically. As such we need to mark the GL object as being freed for unretained buffers and so recreate the o