From cb8ecb2f36f8ac08215e4179b24fe2a03282c858 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 31 Jul 2017 23:22:31 +0200 Subject: [PATCH] radeonsi: don't print AMD twice in the renderer string with the marketing name MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/r600_pipe_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index c58048f14e8..e9402f89137 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -1345,7 +1345,8 @@ bool r600_common_screen_init(struct r600_common_screen *rscreen, rscreen->ws = ws; if ((chip_name = r600_get_marketing_name(ws))) - snprintf(family_name, sizeof(family_name), "%s / ", r600_get_family_name(rscreen)); + snprintf(family_name, sizeof(family_name), "%s / ", + r600_get_family_name(rscreen) + 4); else chip_name = r600_get_family_name(rscreen); -- 2.30.2