Mesa (master): radeonsi: don' t print AMD twice in the renderer string with the marketing name
Marek Olšák
mareko at kemper.freedesktop.org
Tue Aug 1 15:07:02 UTC 2017
Module: Mesa
Branch: master
Commit: cb8ecb2f36f8ac08215e4179b24fe2a03282c858
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb8ecb2f36f8ac08215e4179b24fe2a03282c858
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Jul 31 23:22:31 2017 +0200
radeonsi: don't print AMD twice in the renderer string with the marketing name
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
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 c58048f14e..e9402f8913 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);
More information about the mesa-commit
mailing list