Mesa (master): r300-gallium: Add RS600 chipsets.

Corbin Simpson csimpson at kemper.freedesktop.org
Fri Feb 27 10:20:14 PST 2009


Module: Mesa
Branch: master
Commit: 4ef8c047ea4cdbf9bc31920d58205620b857fe3c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ef8c047ea4cdbf9bc31920d58205620b857fe3c

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Fri Feb 27 08:23:01 2009 -0800

r300-gallium: Add RS600 chipsets.

---

 src/gallium/drivers/r300/r300_chipset.c |    7 +++++++
 src/gallium/drivers/r300/r300_chipset.h |    1 +
 src/gallium/drivers/r300/r300_screen.c  |    1 +
 3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c
index 196537a..9577fd7 100644
--- a/src/gallium/drivers/r300/r300_chipset.c
+++ b/src/gallium/drivers/r300/r300_chipset.c
@@ -204,6 +204,13 @@ void r300_parse_chipset(struct r300_capabilities* caps)
             caps->has_tcl = FALSE;
             break;
 
+        case 0x793F:
+        case 0x7941:
+        case 0x7942:
+            caps->family = CHIP_FAMILY_RS600;
+            caps->has_tcl = FALSE;
+            break;
+
         case 0x796C:
         case 0x796D:
         case 0x796E:
diff --git a/src/gallium/drivers/r300/r300_chipset.h b/src/gallium/drivers/r300/r300_chipset.h
index a9cd372..21eebea 100644
--- a/src/gallium/drivers/r300/r300_chipset.h
+++ b/src/gallium/drivers/r300/r300_chipset.h
@@ -64,6 +64,7 @@ enum {
     CHIP_FAMILY_RC410,
     CHIP_FAMILY_RS480,
     CHIP_FAMILY_RS482,
+    CHIP_FAMILY_RS600,
     CHIP_FAMILY_RS690,
     CHIP_FAMILY_RS740,
     CHIP_FAMILY_RV515,
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 5ff9015..470e1e2 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -50,6 +50,7 @@ static const char* chip_families[] = {
     "RC410",
     "RS480",
     "RS482",
+    "RS600",
     "RS690",
     "RS740",
     "RV515",



More information about the mesa-commit mailing list