radeonsi: increase the number of compiler threads depending on the CPU
authorMarek Olšák <marek.olsak@amd.com>
Fri, 13 Apr 2018 22:09:11 +0000 (18:09 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 27 Apr 2018 21:56:04 +0000 (17:56 -0400)
commit8b7358fe4376aecee0c29ea622f88f9ef07e6b11
tree66acf1465d0cf3948a4ff513c45a948317e8e6f0
parent3f0eaaf6d96bf627b6594ea2045ba1c0268dbac2
radeonsi: increase the number of compiler threads depending on the CPU

The compiler queue was limited to 3 threads, so shader-db running
on a 16-thread CPU would have a bottleneck on the 3-thread queue.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Tested-by: Benedikt Schemmer <ben at besd.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h