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>
This commit is contained in:
parent
f4ecc432bf
commit
fb32406e56
|
@ -67,13 +67,6 @@ panfrost_get_total_stack_size(
|
||||||
unsigned threads_per_core,
|
unsigned threads_per_core,
|
||||||
unsigned core_count);
|
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);
|
const char * panfrost_model_name(unsigned gpu_id);
|
||||||
|
|
||||||
/* Attributes / instancing */
|
/* Attributes / instancing */
|
||||||
|
|
|
@ -60,13 +60,13 @@ panfrost_query_raw(
|
||||||
return get_param.value;
|
return get_param.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned
|
static unsigned
|
||||||
panfrost_query_gpu_version(int fd)
|
panfrost_query_gpu_version(int fd)
|
||||||
{
|
{
|
||||||
return panfrost_query_raw(fd, DRM_PANFROST_PARAM_GPU_PROD_ID, true, 0);
|
return panfrost_query_raw(fd, DRM_PANFROST_PARAM_GPU_PROD_ID, true, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned
|
static unsigned
|
||||||
panfrost_query_core_count(int fd)
|
panfrost_query_core_count(int fd)
|
||||||
{
|
{
|
||||||
/* On older kernels, worst-case to 16 cores */
|
/* On older kernels, worst-case to 16 cores */
|
||||||
|
@ -77,7 +77,7 @@ panfrost_query_core_count(int fd)
|
||||||
return util_bitcount(mask);
|
return util_bitcount(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned
|
static unsigned
|
||||||
panfrost_query_thread_tls_alloc(int fd)
|
panfrost_query_thread_tls_alloc(int fd)
|
||||||
{
|
{
|
||||||
/* On older kernels, we worst-case to 256 threads, the architectural
|
/* On older kernels, we worst-case to 256 threads, the architectural
|
||||||
|
|
Loading…
Reference in New Issue