anv: Make the workaround BO a whole page
authorJason Ekstrand <jason@jlekstrand.net>
Sun, 23 Jun 2019 14:26:59 +0000 (09:26 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 10 Jul 2019 19:35:23 +0000 (19:35 +0000)
commitbb14abed18638c85b7892f435b9ac26d5b62edd4
tree9e3cc30ab7f4a2c232293e8481d1239f79c14b6a
parent6a2ff217b8a7f126771ce73783be4e2fa4eac5c2
anv: Make the workaround BO a whole page

I'm not 100% sure how this ever worked because gem_create usually shoots
you if the BO size isn't page-aligned.

Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c