summaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-06-06 08:33:53 +1000
committerDave Airlie <[email protected]>2017-06-06 09:43:21 +1000
commit0063da8393cb71a3db014371f0d26121ccfb11f8 (patch)
tree5debf46e58038c06933246d4509ffcc6631814d1 /src/amd/common
parenta83f28d536d97615047f29ffb5f651a8afafb568 (diff)
radv: add some misc gfx9 pieces.
This just adds the strings and includes the gfx9 register defs in some files that we need them in. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r--src/amd/common/ac_llvm_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c
index ee5fc89a2df..d9d8d9124f5 100644
--- a/src/amd/common/ac_llvm_util.c
+++ b/src/amd/common/ac_llvm_util.c
@@ -110,6 +110,9 @@ static const char *ac_get_llvm_processor_name(enum radeon_family family)
case CHIP_POLARIS11:
case CHIP_POLARIS12:
return "polaris11";
+ case CHIP_VEGA10:
+ case CHIP_RAVEN:
+ return "gfx900";
default:
return "";
}