[Mesa-dev] [Bug 97102] [dri][swr] stack overflow / infinite loop with GALLIUM_DRIVER=swr

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 6 17:26:36 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=97102

--- Comment #10 from Tim Rowley <timothy.o.rowley at intel.com> ---
I think the right fix for CalculateProcessorTopology is to prune empty nodes at
the end:

    for (auto it = out_nodes.begin(); it != out_nodes.end(); ) {
        if ((*it).cores.size() == 0)
            it = out_nodes.erase(it);
        else
            ++it;
    }

However, the rest of the topology logic with that cpuinfo comes to the
conclusion that's there's only two cores, and so will only generate two threads
with one being dedicated to the API.  We'll need to adjust that logic as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170106/a1f173c0/attachment.html>


More information about the mesa-dev mailing list