diff options
author | Dave Airlie <[email protected]> | 2008-05-03 21:31:22 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2008-05-05 23:47:01 +1000 |
commit | 2f0a75f0040b0de339c78448844a7b18ab995c46 (patch) | |
tree | 246afa59778aab455036affe405976eb8beb3029 /src | |
parent | acb47dee69a165f242d88f9eac60fc5646e33410 (diff) |
r300: add R300_NO_TCL to allow testing of non-tcl on tcl cards
(cherry picked from commit 026ef8111a94f6449dfa5e5cc0ae91fca4e68c0c)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 6107577e408..5cf7f89e110 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -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) |