summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2006-03-31 03:16:39 +0000
committerAapo Tahkola <aet@rasterburn.org>2006-03-31 03:16:39 +0000
commitfb0175db931e1b1457b9b7ea2faa44f07d549266 (patch)
treeb6bd099af644eda3a9fb9c1b465fcb70d2398570 /src/mesa/drivers
parentaa70d92a1372cf471004688d25df05912532e1b1 (diff)
disable r300 chips. R300_FORCE_R300 to force
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index 48197bd83c..6bb15553a6 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -637,6 +637,14 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
dri_priv->deviceID);
return NULL;
}
+ if (screen->chip_family == CHIP_FAMILY_RS300 ||
+ screen->chip_family == CHIP_FAMILY_R300) {
+ if (getenv("R300_FORCE_R300") == NULL) {
+ fprintf(stderr, "Radeon 9500/9700 cards are not currently stable.\n");
+ fprintf(stderr, "More details can be found at https://bugs.freedesktop.org/show_bug.cgi?id=6318\n");
+ return NULL;
+ }
+ }
if (screen->chip_family <= CHIP_FAMILY_RS200)
screen->chip_flags |= RADEON_CLASS_R100;