i965: Hard code CS scratch_ids_per_subslice for Cherryview
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 6 Mar 2018 16:35:50 +0000 (08:35 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 10 Mar 2018 00:15:34 +0000 (16:15 -0800)
commit06e3bd02c01e499332a9c02b40f506df9695bced
treefdc73c4709dfc1366a6b9ea40897a5d7245916bf
parentdb495b8962909f74e90b9eb0463fb37f37ac5f62
i965: 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.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104636
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105290
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Eero Tamminen <eero.t.tamminen@intel.com>
src/mesa/drivers/dri/i965/brw_program.c