r600g/llvm: Update radeon family mappings for LLVM backend 59/6459/1
authorTom Stellard <thomas.stellard@amd.com>
Mon, 29 Apr 2013 20:10:09 +0000 (13:10 -0700)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 6 May 2013 15:22:24 +0000 (08:22 -0700)
New processors were added to the backend to distinguish between
GPUs with and without vertex caches.

src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/radeon/LLVM_REVISION.txt

index 50fe77b..e7b5152 100644 (file)
@@ -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;