Skip to content

util: Remove ATTRIBUTE_CONST for util_get_cpu_caps

Lepton Wu requested to merge lepton/mesa:fixconst into main

With ATTRIBUTE_CONST, compiler could optimize it and eliminate this function call and _util_cpu_caps_state will never be initialized.

Fixes: 1b8a43a0 ("util: Remove util_cpu_detect")

Signed-off-by: Lepton Wu lepton@chromium.org

Merge request reports