OSDN Git Service

intel/vulkan: Hard code CS scratch_ids_per_subslice for Cherryview
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 7 Mar 2018 07:28:00 +0000 (23:28 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 10 Mar 2018 00:15:58 +0000 (16:15 -0800)
commit24b415270ffeef873ba4772d1b3c7c185c9b1958
tree8b45498a09faa641af94d564ab4361153b9f3d38
parent06e3bd02c01e499332a9c02b40f506df9695bced
intel/vulkan: Hard code CS scratch_ids_per_subslice for Cherryview

Ken suggested that we might be underallocating scratch space on HD
400. Allocating scratch space as though there was actually 8 EUs
seems to help with a GPU hang seen on synmark CSDof.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_allocator.c