Re: [Mesa-dev] [PATCH 1/5] anv: Add missing error-checking to anv_block_pool_init (v2)

2016-11-25 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Fri, Nov 25, 2016 at 6:34 AM, Mun Gwan-gyeong wrote: > When the memfd_create() and u_vector_init() fail on anv_block_pool_init(), > this patch makes to return VK_ERROR_INITIALIZATION_FAILED. > All of initialization

[Mesa-dev] [PATCH 1/5] anv: Add missing error-checking to anv_block_pool_init (v2)

2016-11-25 Thread Mun Gwan-gyeong
When the memfd_create() and u_vector_init() fail on anv_block_pool_init(), this patch makes to return VK_ERROR_INITIALIZATION_FAILED. All of initialization success on anv_block_pool_init(), it makes to return VK_SUCCESS. CID 1394319 v2: Fixes from Emil's review: a) Add the return type for