panfrost: Don't export queries

They should be cached onto the device anyway.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7206>
diff --git a/src/panfrost/lib/pan_encoder.h b/src/panfrost/lib/pan_encoder.h
index 9433f02..99971d2 100644
--- a/src/panfrost/lib/pan_encoder.h
+++ b/src/panfrost/lib/pan_encoder.h
@@ -67,13 +67,6 @@
                 unsigned threads_per_core,
                 unsigned core_count);
 
-/* Property queries */
-
-
-unsigned panfrost_query_gpu_version(int fd);
-unsigned panfrost_query_core_count(int fd);
-unsigned panfrost_query_thread_tls_alloc(int fd);
-
 const char * panfrost_model_name(unsigned gpu_id);
 
 /* Attributes / instancing */
diff --git a/src/panfrost/lib/pan_props.c b/src/panfrost/lib/pan_props.c
index 627828c..4c3bf70 100644
--- a/src/panfrost/lib/pan_props.c
+++ b/src/panfrost/lib/pan_props.c
@@ -60,13 +60,13 @@
         return get_param.value;
 }
 
-unsigned
+static unsigned
 panfrost_query_gpu_version(int fd)
 {
         return panfrost_query_raw(fd, DRM_PANFROST_PARAM_GPU_PROD_ID, true, 0);
 }
 
-unsigned
+static unsigned
 panfrost_query_core_count(int fd)
 {
         /* On older kernels, worst-case to 16 cores */
@@ -77,7 +77,7 @@
         return util_bitcount(mask);
 }
 
-unsigned
+static unsigned
 panfrost_query_thread_tls_alloc(int fd)
 {
         /* On older kernels, we worst-case to 256 threads, the architectural