diff options
author | Alex Deucher <agd5f@yahoo.com> | 2004-12-17 19:19:32 +0000 |
---|---|---|
committer | Alex Deucher <agd5f@yahoo.com> | 2004-12-17 19:19:32 +0000 |
commit | ac6166158a58b377e7383950c169956f78b62093 (patch) | |
tree | 857cc14ea4a0e650454a4483739a8ce9b89e462a /src/radeon_accel.c | |
parent | ac860ed6bbed84f6fc39a9acf53ee87646cfc8dc (diff) |
- Add VGAAccess option to r128 driver. Based on Benh's radeon patch. r128
should now work on ppcs without usefbdev. To use this on ppc make sure
you set "usefbdev" to false. (bug 2089)
- Apply Benjamin Herrenschmidt's radeon patches (bug 2064)
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r-- | src/radeon_accel.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index ac422571..d11c7c8c 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -316,10 +316,8 @@ void RADEONEngineRestore(ScrnInfoPtr pScrn) OUTREGP(RADEON_DP_DATATYPE, 0, ~RADEON_HOST_BIG_ENDIAN_EN); #endif - /* Restore SURFACE_CNTL - only the first head contains valid data -ReneR */ - if (!info->IsSecondary) { - OUTREG(RADEON_SURFACE_CNTL, info->ModeReg.surface_cntl); - } + /* Restore SURFACE_CNTL */ + OUTREG(RADEON_SURFACE_CNTL, info->ModeReg.surface_cntl); RADEONWaitForFifo(pScrn, 1); OUTREG(RADEON_DEFAULT_SC_BOTTOM_RIGHT, (RADEON_DEFAULT_SC_RIGHT_MAX |