diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon.h | 1 | ||||
-rw-r--r-- | src/radeon_driver.c | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 122a9dd3..feff48fc 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -762,6 +762,7 @@ typedef struct { void *fb_shadow; int num_gb_pipes; + Bool has_tcl; } RADEONInfoRec, *RADEONInfoPtr; #define RADEONWaitForFifo(pScrn, entries) \ 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; } |