Skip to content

i965: Call util_cpu_detect() early in screen creation

Jordan Justen requested to merge jljusten/mesa:i965-util_cpu_detect into master

Fixes: a9618e7c ("util: Add accessor for util_cpu_caps")

This helps to avoid this assertion on i965 with debug builds:

I didn't reproduce this locally, but @robclark recommended this change, and it seems to help:

Adding this change, the https://mesa-ci.01.org/jljusten/builds/275/group/63a9f0ea7bb98050796b649e85481845

Cc: @kwg

Merge request reports