summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2009-02-13 17:57:19 +0100
committerMatthias Hopf <mhopf@suse.de>2009-02-13 17:57:19 +0100
commit507b29c4977527f76f5ab2781db84a350acd56fe (patch)
tree5b5b6da89a4d6969d7a6cd953cfb64ae66c6673a
parent6c5e5783184f0a94e1b7690fd7415b8ed5c24135 (diff)
Add M74, M82 chipsets (no pci ids yet).
-rw-r--r--r600_demo.c6
-rw-r--r--r600_init.c2
-rw-r--r--r600_lib.h6
3 files changed, 11 insertions, 3 deletions
diff --git a/r600_demo.c b/r600_demo.c
index a21a82e..054b682 100644
--- a/r600_demo.c
+++ b/r600_demo.c
@@ -450,6 +450,12 @@ void read_registers(void)
case CHIPSET_M72:
fprintf (stderr, "Chipset: M72\n\n");
break;
+ case CHIPSET_M74:
+ fprintf (stderr, "Chipset: M74\n\n");
+ break;
+ case CHIPSET_M82:
+ fprintf (stderr, "Chipset: M82\n\n");
+ break;
case CHIPSET_RV770:
fprintf (stderr, "Chipset: RV770\n\n");
break;
diff --git a/r600_init.c b/r600_init.c
index 8bd7fa9..16e6553 100644
--- a/r600_init.c
+++ b/r600_init.c
@@ -170,6 +170,8 @@ void sq_setup(adapter_t *adapt, sq_config_t *sq_conf)
(adapt->chipset == CHIPSET_RV620) ||
(adapt->chipset == CHIPSET_RS780) ||
(adapt->chipset == CHIPSET_M72) ||
+ (adapt->chipset == CHIPSET_M74) ||
+ (adapt->chipset == CHIPSET_M82) ||
(adapt->chipset == CHIPSET_RV710))
sq_config = 0; // no VC
else
diff --git a/r600_lib.h b/r600_lib.h
index 1218778..20a748d 100644
--- a/r600_lib.h
+++ b/r600_lib.h
@@ -63,11 +63,11 @@ extern int do_not_flush;
enum chipset_e {
CHIPSET_NONE = 0,
CHIPSET_R600,
- CHIPSET_RV610, CHIPSET_RV620, // no VC
- CHIPSET_RS780, CHIPSET_M72, // no VC
+ CHIPSET_RV610, CHIPSET_RV620, // no VC
+ CHIPSET_RS780, CHIPSET_M72, CHIPSET_M74, CHIPSET_M82, // no VC
CHIPSET_RV630, CHIPSET_RV635, CHIPSET_RV670,
CHIPSET_RV770,
- CHIPSET_RV710, // no VC
+ CHIPSET_RV710, // no VC
CHIPSET_RV730
};