util: Rename util_cpu_detect to _util_cpu_detect_local
authorYonggang Luo <luoyonggang@gmail.com>
Sat, 30 Jul 2022 04:36:45 +0000 (12:36 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 29 Aug 2022 18:06:07 +0000 (18:06 +0000)
commite51fa10f536fe38fdaf23268dd980e83e93ab9ad
treecf82eabf7fa1b76998851565084f4efcea8f9409
parent38dad1729472aff0a6cee8077e9fa3874fe9e516
util: Rename util_cpu_detect to _util_cpu_detect_local

Add comment about _util_cpu_detect_local that it's can only be called by util_get_cpu_caps
Add comment about util_cpu_caps that it's can only by accessed by util_get_cpu_caps

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17803>
src/panfrost/bifrost/valhall/test/test-add-imm.cpp
src/util/u_cpu_detect.c
src/util/u_cpu_detect.h