aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2019-12-09 16:02:17 -0500
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2019-12-13 10:26:35 -0500
commit7c972eba40acdaf30610110024f374cc60a42748 (patch)
tree19d68fde8b7d394d4d8db8d1b7ef8b949f9a0eeb /src/gallium
parent09a2c74cfdd0fd4795b0bdcfe62acda6336e824c (diff)
panfrost: Report GPU name in es2_info
We can prettify the ID. Closes #2093 Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 29db75ce561..e237f36e491 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -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 *