anv: leave the top 4Gb of the high heap VMA unused
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 12 Apr 2019 10:05:33 +0000 (11:05 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 13 Apr 2019 12:08:23 +0000 (12:08 +0000)
commit9e7b0988d6e98690eb8902e477b51713a6ef9cae
treea14d563537074edbf42111d01282f0fda88508fa
parentdc402be73e4bbb9b43213a4266b98a46092e3038
anv: leave the top 4Gb of the high heap VMA unused

In 628c9ca9089789 I forgot to apply the same -4Gb of the high address
of the high heap VMA. This was previously computed in the
HIGH_HEAP_MAX_ADDRESS.

Many thanks to James for pointing this out.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reported-by: Xiong, James <james.xiong@intel.com>
Fixes: 628c9ca9089789 ("anv: store heap address bounds when initializing physical device")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c