diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-01-24 11:10:00 +0100 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-01-24 11:10:00 +0100 |
commit | 1c5678fc452dbc93135e9ece50a4cff6583f6078 (patch) | |
tree | 729504a960f00c84f238e515c7a54729c8898b23 /src/radeon_driver.c | |
parent | 5cbd6082b9f8d7009ee9ef5e036673f99e1bfb05 (diff) |
Drop memcpy fallbacks from EXA UploadToScreen and DownloadFromScreen hooks.
While in theory it's possible for the PrepareAccess hook to fail on big endian
platforms, in practice it isn't at this point because there's no other users of
the surface registers.
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index e53edbbe..22b2e4c6 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3361,15 +3361,9 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen, #ifdef USE_EXA if (info->useEXA) { #ifdef XF86DRI - MessageType from = X_DEFAULT; - if (hasDRI) { - info->accelDFS = info->cardType != CARD_AGP; - - if (xf86GetOptValInteger(info->Options, OPTION_ACCEL_DFS, - &info->accelDFS)) { - from = X_CONFIG; - } + info->accelDFS = xf86ReturnOptValBool(info->Options, OPTION_ACCEL_DFS, + info->cardType != CARD_AGP); /* Reserve approx. half of offscreen memory for local textures by * default, can be overridden with Option "FBTexPercent". @@ -3387,10 +3381,6 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen, } } } - - xf86DrvMsg(pScrn->scrnIndex, from, - "%ssing accelerated EXA DownloadFromScreen hook\n", - info->accelDFS ? "U" : "Not u"); #endif /* XF86DRI */ if (!RADEONSetupMemEXA(pScreen)) |