anv: multiply the scratch space by 4 on gen9-10 like iris and i965
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Sat, 29 Feb 2020 00:03:02 +0000 (16:03 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 3 Mar 2020 00:36:10 +0000 (00:36 +0000)
commit62f7197fb54d2fbb7bd5646115008d3c27a3dfb9
tree8973722ff958fdf37426e27b93209f5e79afb22f
parentaa78801f0a6cfeaf3d16b4333239c0b862f73c10
anv: multiply the scratch space by 4 on gen9-10 like iris and i965

My understanding is that there's no reason for the scratch space
allocation to be different between iris, i965 and anv. Let's make all
the functions behave the same.

I don't know if this fixes any specific gen9 bugs, it it might since
it increases the scratch space.

v2: Rebase.
v3: Rebase.
v4: Remove redundant gen 11 check (Jason).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4006>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4006>
src/intel/vulkan/anv_allocator.c