[Mesa-dev] [PATCH] r600g/llvm: Update radeon family mappings for LLVM backend
Tom Stellard
tom at stellard.net
Mon Apr 29 13:10:09 PDT 2013
From: Tom Stellard <thomas.stellard at amd.com>
New processors were added to the backend to distinguish between
GPUs with and without vtx caches.
---
src/gallium/drivers/r600/r600_pipe.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index b012892..f54749e 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -787,14 +787,16 @@ const char * r600_llvm_gpu_string(enum radeon_family family)
switch (family) {
case CHIP_R600:
- case CHIP_RV610:
case CHIP_RV630:
- case CHIP_RV620:
case CHIP_RV635:
case CHIP_RV670:
+ gpu_family = "r600";
+ break;
+ case CHIP_RV610:
+ case CHIP_RV620:
case CHIP_RS780:
case CHIP_RS880:
- gpu_family = "r600";
+ gpu_family = "rs880";
break;
case CHIP_RV710:
gpu_family = "rv710";
@@ -812,6 +814,8 @@ const char * r600_llvm_gpu_string(enum radeon_family family)
break;
case CHIP_SUMO:
case CHIP_SUMO2:
+ gpu_family = "sumo";
+ break;
case CHIP_REDWOOD:
gpu_family = "redwood";
break;
--
1.7.11.4
More information about the mesa-dev
mailing list