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:
@@ -70,13 +70,13 @@ int pan_debug = 0;
|
||||
static const char *
|
||||
panfrost_get_name(struct pipe_screen *screen)
|
||||
{
|
||||
return "panfrost";
|
||||
return panfrost_model_name(pan_screen(screen)->gpu_id);
|
||||
}
|
||||
|
||||
static const char *
|
||||
panfrost_get_vendor(struct pipe_screen *screen)
|
||||
{
|
||||
return "panfrost";
|
||||
return "Panfrost";
|
||||
}
|
||||
|
||||
static const char *
|
||||
|
Reference in New Issue
Block a user