anv: change BLOCK_POOL_MEMFD_SIZE to exactly 2GB
authorTapani Pälli <tapani.palli@intel.com>
Tue, 7 Mar 2017 09:17:42 +0000 (11:17 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 8 Mar 2017 05:57:55 +0000 (07:57 +0200)
commitdb5f9c31774691df9239bcbbbf52075a63c08c25
tree480f57c563ad61254ee75a11f0e6f9939992bf75
parent58b69eedd3bd3d9032a36fbc8ced8b187025aeb2
anv: change BLOCK_POOL_MEMFD_SIZE to exactly 2GB

This is what comment above definition says and change fixes issue with
32bit build where BLOCK_POOL_MEMFD_SIZE is used as ftruncate parameter
and constant currently gets converted from 4294967296 to 0.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_private.h