Skip to content

util/u_queue: Ensure num_cpu_mask_bits is valid

Rob Clark requested to merge robclark/mesa:util/queue-affinity into master

I noticed that we were hitting this before st_create_context() called util_cpu_detect() and so num_cpu_mask_bits was zero. But there is no harm in calling util_cpu_detect(), so lets just call it here to be safe.

Signed-off-by: Rob Clark robdclark@chromium.org

Edited by Rob Clark

Merge request reports