diff options
author | Marek Olšák <marek.olsak@amd.com> | 2017-07-31 23:22:31 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2017-08-01 17:06:38 +0200 |
commit | cb8ecb2f36f8ac08215e4179b24fe2a03282c858 (patch) | |
tree | 23f43f828827f4ba8ad7894755045af74dcab3c1 /src | |
parent | 1aeafb59e6bee72fdf847cac904694b200fe5c6f (diff) |
radeonsi: don't print AMD twice in the renderer string with the marketing name
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 3 |
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); |