r600g/llvm: Select the correct GPU type for RV670
authorTom Stellard <thomas.stellard@amd.com>
Fri, 1 Feb 2013 16:03:56 +0000 (16:03 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 1 Feb 2013 22:53:30 +0000 (22:53 +0000)
RV670 belongs in the R600 chip class

https://bugs.freedesktop.org/show_bug.cgi?id=58666

NOTE: This is a candidate for the 9.1 branch

src/gallium/drivers/r600/r600_llvm.c

index 913dccc53a2dc5694257e889d41ec295bc449795..fa66fcc11eca8f38843eebf9f5a2d1e1f6c5f5fa 100644 (file)
@@ -537,6 +537,7 @@ const char * r600_llvm_gpu_string(enum radeon_family family)
        case CHIP_RV630:
        case CHIP_RV620:
        case CHIP_RV635:
+       case CHIP_RV670:
        case CHIP_RS780:
        case CHIP_RS880:
                gpu_family = "r600";
@@ -547,7 +548,6 @@ const char * r600_llvm_gpu_string(enum radeon_family family)
        case CHIP_RV730:
                gpu_family = "rv730";
                break;
-       case CHIP_RV670:
        case CHIP_RV740:
        case CHIP_RV770:
                gpu_family = "rv770";