r300: add R300_NO_TCL to allow testing of non-tcl on tcl cards

(cherry picked from commit 026ef8111a)
This commit is contained in:
Dave Airlie
2008-05-03 21:31:22 +10:00
parent acb47dee69
commit 2f0a75f004
@@ -697,6 +697,9 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
return NULL;
}
if (getenv("R300_NO_TCL"))
screen->chip_flags &= ~RADEON_CHIPSET_TCL;
if (screen->chip_family <= CHIP_FAMILY_RS200)
screen->chip_flags |= RADEON_CLASS_R100;
else if (screen->chip_family <= CHIP_FAMILY_RV280)