projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa70d92
)
disable r300 chips. R300_FORCE_R300 to force
author
Aapo Tahkola
<aet@rasterburn.org>
Fri, 31 Mar 2006 03:16:39 +0000
(
03:16
+0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Fri, 31 Mar 2006 03:16:39 +0000
(
03:16
+0000)
src/mesa/drivers/dri/radeon/radeon_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_screen.c
b/src/mesa/drivers/dri/radeon/radeon_screen.c
index 48197bd83cc08487e9809e3315f0f908d5a2037e..6bb15553a63453da46f6f5877290e14136b623c5 100644
(file)
--- 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;