summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2008-04-10 14:35:00 -0400
committerAlex Deucher <alex@botch2.com>2008-04-10 14:35:00 -0400
commit0032c80bf30bab189204e3e6929e18a19d753138 (patch)
tree10ccbc3d99cefa28b0d8565517a77ee4e7b8b7ce /src/radeon_driver.c
parent9e2ffe66d106abe34a670d2edc9905ed62c485e8 (diff)
RADEON: store tcl status in driver rec
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index d5595eaa..3d4f05f2 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -1785,6 +1785,23 @@ static Bool RADEONPreInitChipType(ScrnInfoPtr pScrn)
if (!xf86LoadSubModule(pScrn, "shadow"))
return FALSE;
}
+
+
+ if ((info->ChipFamily == CHIP_FAMILY_RS100) ||
+ (info->ChipFamily == CHIP_FAMILY_RS200) ||
+ (info->ChipFamily == CHIP_FAMILY_RS300) ||
+ (info->ChipFamily == CHIP_FAMILY_RS400) ||
+ (info->ChipFamily == CHIP_FAMILY_RS690) ||
+ (info->ChipFamily == CHIP_FAMILY_RS740))
+ info->has_tcl = FALSE;
+ else {
+ /* need to sort out why PVS has issues on RV515 */
+ if (info->ChipFamily == CHIP_FAMILY_RV515)
+ info->has_tcl = FALSE;
+ else
+ info->has_tcl = TRUE;
+ }
+
return TRUE;
}