Mesa (master): r600g/llvm: Update radeon family mappings for LLVM backend
Tom Stellard
tstellar at kemper.freedesktop.org
Mon May 6 15:23:27 UTC 2013
Module: Mesa
Branch: master
Commit: ec143dc0b1338e59a5eff1b10663b4d715976491
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec143dc0b1338e59a5eff1b10663b4d715976491
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Mon Apr 29 13:10:09 2013 -0700
r600g/llvm: Update radeon family mappings for LLVM backend
New processors were added to the backend to distinguish between
GPUs with and without vertex caches.
---
src/gallium/drivers/r600/r600_pipe.c | 10 +++++++---
src/gallium/drivers/radeon/LLVM_REVISION.txt | 2 +-
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 50fe77b..e7b5152 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -800,14 +800,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";
@@ -825,6 +827,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;
diff --git a/src/gallium/drivers/radeon/LLVM_REVISION.txt b/src/gallium/drivers/radeon/LLVM_REVISION.txt
index fcd9387..0b998d4 100644
--- a/src/gallium/drivers/radeon/LLVM_REVISION.txt
+++ b/src/gallium/drivers/radeon/LLVM_REVISION.txt
@@ -1 +1 @@
- at 180751
+ at 180753
More information about the mesa-commit
mailing list