projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb47de
)
r300: add R300_NO_TCL to allow testing of non-tcl on tcl cards
author
Dave Airlie
<airlied@linux.ie>
Sat, 3 May 2008 11:31:22 +0000
(21:31 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Mon, 5 May 2008 13:47:01 +0000
(23:47 +1000)
(cherry picked from commit
026ef8111a94f6449dfa5e5cc0ae91fca4e68c0c
)
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 6107577e40879052bd9dde17865408c70ff86ba0..5cf7f89e110889f0ec8baaea2e7af1ee2b65efd3 100644
(file)
--- 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)