diff options
author | Alex Deucher <alex@botch2.(none)> | 2008-03-01 14:39:32 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2008-03-01 14:39:32 -0500 |
commit | dee6cef8e62d0651c00319e03eea92940fd24aa4 (patch) | |
tree | 3a2dfa044f16fb63b9ba56ef8f839dc139dedfdb | |
parent | 129f737efe4e8d1a368e7db4b063bdcd9339cb09 (diff) |
RS4xx: enable exa render accel and textured video
RS6xx paths seem to work fine on RS4xx
-rw-r--r-- | src/radeon_exa_funcs.c | 5 | ||||
-rw-r--r-- | src/radeon_video.c | 14 |
2 files changed, 8 insertions, 11 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index 3d158824..8a58df28 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -533,10 +533,9 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) #ifdef RENDER if (info->RenderAccel) { - if ((info->ChipFamily >= CHIP_FAMILY_R600) || - (info->ChipFamily == CHIP_FAMILY_RS400)) + if (info->ChipFamily >= CHIP_FAMILY_R600) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Render acceleration " - "unsupported on XPRESS, R500 and newer cards.\n"); + "unsupported on R600 and newer cards.\n"); else if (IS_R300_VARIANT || (IS_AVIVO_VARIANT && info->ChipFamily <= CHIP_FAMILY_RS690)) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Render acceleration " "enabled for R300 type cards.\n"); diff --git a/src/radeon_video.c b/src/radeon_video.c index 3cbd8f69..555186a5 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -285,14 +285,12 @@ void RADEONInitVideo(ScreenPtr pScreen) RADEONInitOffscreenImages(pScreen); } - if (info->ChipFamily != CHIP_FAMILY_RS400) { - texturedAdaptor = RADEONSetupImageTexturedVideo(pScreen); - if (texturedAdaptor != NULL) { - adaptors[num_adaptors++] = texturedAdaptor; - xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Set up textured video\n"); - } else - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Failed to set up textured video\n"); - } + texturedAdaptor = RADEONSetupImageTexturedVideo(pScreen); + if (texturedAdaptor != NULL) { + adaptors[num_adaptors++] = texturedAdaptor; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Set up textured video\n"); + } else + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Failed to set up textured video\n"); if(num_adaptors) xf86XVScreenInit(pScreen, adaptors, num_adaptors); |