From 6930d2c981221757b1e11ef194809f085753a611 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 20 Aug 2010 16:55:21 -0400 Subject: Add initial EXA and Xv support for evergreen Based on the r6xx/r7xx code updated for evergreen. Still causes GPU hangs in some cases. We haven't tracked down why yet. Might be related to constant buffer persistence. Signed-off-by: Alex Deucher --- src/radeon_accel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/radeon_accel.c') diff --git a/src/radeon_accel.c b/src/radeon_accel.c index 281bc6d4..8fc515d1 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -1072,7 +1072,10 @@ Bool RADEONAccelInit(ScreenPtr pScreen) if (info->useEXA) { # ifdef XF86DRI if (info->directRenderingEnabled) { - if (info->ChipFamily >= CHIP_FAMILY_R600) { + if (info->ChipFamily >= CHIP_FAMILY_CEDAR) { + if (!EVERGREENDrawInit(pScreen)) + return FALSE; + } else if (info->ChipFamily >= CHIP_FAMILY_R600) { if (!R600DrawInit(pScreen)) return FALSE; } else { -- cgit v1.2.3