mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 00:50:23 +01:00
panfrost: Add shader core count to RENDERER string
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39267>
This commit is contained in:
parent
4db7958edc
commit
945172f77e
1 changed files with 5 additions and 1 deletions
|
|
@ -1061,8 +1061,12 @@ panfrost_create_screen(int fd, const struct pipe_screen_config *config,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
unsigned core_id_range;
|
||||
unsigned core_count =
|
||||
pan_query_core_count(&dev->kmod.dev->props, &core_id_range);
|
||||
|
||||
snprintf(screen->renderer_string, sizeof(screen->renderer_string),
|
||||
"%s (Panfrost)", dev->model->name);
|
||||
"%s MC%u (Panfrost)", dev->model->name, core_count);
|
||||
|
||||
screen->afbc_tiled = driQueryOptionb(config->options, "pan_afbc_tiled");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue