From 7c972eba40acdaf30610110024f374cc60a42748 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 9 Dec 2019 16:02:17 -0500 Subject: [PATCH] panfrost: Report GPU name in es2_info We can prettify the ID. Closes #2093 Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_screen.c | 4 ++-- 1 file 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 * -- 2.30.2