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

This commit is contained in:
Dave Airlie 2008-05-03 21:31:22 +10:00
parent ae09292a6e
commit 026ef8111a

View file

@ -827,6 +827,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)