diff options
author | Marek Olšák <[email protected]> | 2019-01-02 15:50:13 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-08-14 17:31:04 -0400 |
commit | aafc95ceb6e9ebd62d456b95383ce7f05be0afd9 (patch) | |
tree | 43a7f4c591ab632b45a58727fff5f635f17e1b1a /src/amd/common | |
parent | a3d6024199723694980edbbca79c81ec215d8fcf (diff) |
radeonsi: add support for Renoir
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/ac_gpu_info.c | 3 | ||||
-rw-r--r-- | src/amd/common/ac_llvm_util.c | 1 | ||||
-rw-r--r-- | src/amd/common/amd_family.h | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index b02a3e98113..9ec7359ed79 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -478,7 +478,8 @@ bool ac_query_gpu_info(int fd, void *dev_p, if (info->drm_minor >= 31 && (info->family == CHIP_RAVEN || - info->family == CHIP_RAVEN2)) { + info->family == CHIP_RAVEN2 || + info->family == CHIP_RENOIR)) { if (info->num_render_backends == 1) info->use_display_dcc_unaligned = true; else diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c index b43224b3b73..a201f2d1fc5 100644 --- a/src/amd/common/ac_llvm_util.c +++ b/src/amd/common/ac_llvm_util.c @@ -132,6 +132,7 @@ const char *ac_get_llvm_processor_name(enum radeon_family family) case CHIP_VEGA20: return "gfx906"; case CHIP_RAVEN2: + case CHIP_RENOIR: return HAVE_LLVM >= 0x0800 ? "gfx909" : "gfx902"; case CHIP_ARCTURUS: return "gfx908"; diff --git a/src/amd/common/amd_family.h b/src/amd/common/amd_family.h index 1d6578c0ef7..2386eecb5d4 100644 --- a/src/amd/common/amd_family.h +++ b/src/amd/common/amd_family.h @@ -97,6 +97,7 @@ enum radeon_family { CHIP_VEGA20, CHIP_RAVEN, CHIP_RAVEN2, + CHIP_RENOIR, CHIP_ARCTURUS, CHIP_NAVI10, CHIP_NAVI12, |