summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-31 23:22:31 +0200
committerMarek Olšák <[email protected]>2017-08-01 17:06:38 +0200
commitcb8ecb2f36f8ac08215e4179b24fe2a03282c858 (patch)
tree23f43f828827f4ba8ad7894755045af74dcab3c1 /src/gallium/drivers/radeon
parent1aeafb59e6bee72fdf847cac904694b200fe5c6f (diff)
radeonsi: don't print AMD twice in the renderer string with the marketing name
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.c3
1 files changed, 2 insertions, 1 deletions
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);