Re: [Mesa-dev] [PATCH] anv/device: Return DEVICE_LOST if execbuf2 fails

2016-11-01 Thread Anuj Phogat
On Mon, Oct 31, 2016 at 9:53 PM, Jason Ekstrand wrote: > This makes more sense than OUT_OF_HOST_MEMORY. Technically, you can > recover from a failed execbuf2 but the batch you just submitted didn't > fully execute so things are in an ill-defined state. The app doesn't want

Re: [Mesa-dev] [PATCH] anv/device: Return DEVICE_LOST if execbuf2 fails

2016-11-01 Thread Kenneth Graunke
On Monday, October 31, 2016 9:53:44 PM PDT Jason Ekstrand wrote: > This makes more sense than OUT_OF_HOST_MEMORY. Technically, you can > recover from a failed execbuf2 but the batch you just submitted didn't > fully execute so things are in an ill-defined state. The app doesn't want > to

[Mesa-dev] [PATCH] anv/device: Return DEVICE_LOST if execbuf2 fails

2016-10-31 Thread Jason Ekstrand
This makes more sense than OUT_OF_HOST_MEMORY. Technically, you can recover from a failed execbuf2 but the batch you just submitted didn't fully execute so things are in an ill-defined state. The app doesn't want to continue from that point anyway. --- src/intel/vulkan/anv_device.c | 10