panfrost: Report GPU name in es2_info

We can prettify the ID.

Closes #2093

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig
2019-12-09 16:02:17 -05:00
parent 09a2c74cfd
commit 7c972eba40

View File

@@ -70,13 +70,13 @@ int pan_debug = 0;
static const char * static const char *
panfrost_get_name(struct pipe_screen *screen) panfrost_get_name(struct pipe_screen *screen)
{ {
return "panfrost"; return panfrost_model_name(pan_screen(screen)->gpu_id);
} }
static const char * static const char *
panfrost_get_vendor(struct pipe_screen *screen) panfrost_get_vendor(struct pipe_screen *screen)
{ {
return "panfrost"; return "Panfrost";
} }
static const char * static const char *