From: Marek Olšák Date: Mon, 31 Jul 2017 21:22:31 +0000 (+0200) Subject: radeonsi: don't print AMD twice in the renderer string with the marketing name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb8ecb2f36f8ac08215e4179b24fe2a03282c858;p=mesa.git radeonsi: don't print AMD twice in the renderer string with the marketing name Reviewed-by: Nicolai Hähnle --- 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);