r600: rv670 use at least 16es/gs threads
authorDave Airlie <airlied@redhat.com>
Tue, 24 Feb 2015 06:30:05 +0000 (16:30 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Dec 2015 02:58:34 +0000 (12:58 +1000)
This is specified in the docs for rv670 to work properly.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "10.6 11.0 11.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_state.c

index c59e6c0183b6a3e067fbea087db0ad687e337b44..1f9ae912d4f60e725caec26a4bac053175aa2f79 100644 (file)
@@ -2213,10 +2213,11 @@ void r600_init_atom_start_cs(struct r600_context *rctx)
                num_temp_gprs = 4;
                num_gs_gprs = 0;
                num_es_gprs = 0;
-               num_ps_threads = 136;
-               num_vs_threads = 48;
-               num_gs_threads = 4;
-               num_es_threads = 4;
+               /* use limits 40 VS and at least 16 ES/GS */
+               num_ps_threads = 120;
+               num_vs_threads = 40;
+               num_gs_threads = 16;
+               num_es_threads = 16;
                num_ps_stack_entries = 40;
                num_vs_stack_entries = 40;
                num_gs_stack_entries = 32;