diff options
author | Dave Airlie <airlied@redhat.com> | 2015-02-24 16:30:05 +1000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-12-04 16:36:43 +0000 |
commit | dd37db0c80f907323fdbd6098d90044236f14410 (patch) | |
tree | 47d3aff6359d66b4b95e182531c1026e1f970800 | |
parent | 8e3fbb90a9eea5c1076f759aaa5dbbfbc1d5636e (diff) |
r600: rv670 use at least 16es/gs threads
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>
(cherry picked from commit 04efcc6c7adfda75b425f443588f0faab453ba3a)
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index c59e6c0183..1f9ae912d4 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -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; |