summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/swr/swr_query.h
diff options
context:
space:
mode:
authorBruce Cherniak <bruce.cherniak@intel.com>2017-01-19 15:44:52 -0600
committerTim Rowley <timothy.o.rowley@intel.com>2017-01-23 13:52:26 -0600
commitb829206b0739925501bcc68233437d6d03b79795 (patch)
treeb75f96c6ef0434ee4ddd170f06c219a7bc0b9cb0 /src/gallium/drivers/swr/swr_query.h
parentd349449a16825abc8336495afabadb2540b5a688 (diff)
swr: Prune empty nodes in CalculateProcessorTopology.
CalculateProcessorTopology tries to figure out system topology by parsing /proc/cpuinfo to determine the number of threads, cores, and NUMA nodes. There are some architectures where the "physical id" begins with 1 rather than 0, which was creating and empty "0" node and causing a crash in CreateThreadPool. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97102 Reviewed-By: George Kyriazis <george.kyriazis@intel.com> CC: <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/swr/swr_query.h')
0 files changed, 0 insertions, 0 deletions