Re: [Mesa-dev] [PATCH v3] anv: Limit VkDeviceMemory objects to 2GB

2017-04-18 Thread Juan A. Suarez Romero
On Wed, 2017-04-12 at 08:50 -0700, Jason Ekstrand wrote: > On Wed, Apr 12, 2017 at 2:47 AM, Juan A. Suarez Romero > wrote: > > Reviewed-by: Juan A. Suarez Romero > > > > Is this patch sufficient to fix the bug you were seeing yesterday? >   Sorry for answering late. I took some days off and c

Re: [Mesa-dev] [PATCH v3] anv: Limit VkDeviceMemory objects to 2GB

2017-04-12 Thread Jason Ekstrand
On Wed, Apr 12, 2017 at 2:47 AM, Juan A. Suarez Romero wrote: > Reviewed-by: Juan A. Suarez Romero > Is this patch sufficient to fix the bug you were seeing yesterday? > On Tue, 2017-04-11 at 11:11 -0700, Jason Ekstrand wrote: > > v2 (Jason Ekstrand): > > - Limit to 2GB instead of 4GB > > >

Re: [Mesa-dev] [PATCH v3] anv: Limit VkDeviceMemory objects to 2GB

2017-04-12 Thread Juan A. Suarez Romero
Reviewed-by: Juan A. Suarez Romero On Tue, 2017-04-11 at 11:11 -0700, Jason Ekstrand wrote: > v2 (Jason Ekstrand): > - Limit to 2GB instead of 4GB > > v3 (Jason Ekstrand): > - Fix the build by using pAllocateInfo instead of pAllocationInfo (not >sure how that happened). > - Return vK_ERRO

[Mesa-dev] [PATCH v3] anv: Limit VkDeviceMemory objects to 2GB

2017-04-11 Thread Jason Ekstrand
v2 (Jason Ekstrand): - Limit to 2GB instead of 4GB v3 (Jason Ekstrand): - Fix the build by using pAllocateInfo instead of pAllocationInfo (not sure how that happened). - Return vK_ERROR_OUT_OF_DEVICE_MEMORY (Thanks Ilia!) Cc: "Juan A. Suárez" --- src/intel/vulkan/anv_device.c | 20 +++