summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2012-01-01 18:27:54 +0100
committerAlex Deucher <alexdeucher@gmail.com>2012-01-02 11:20:44 -0500
commit0a8d04eeac95f4db9d03ee31070bd825a7feb0b2 (patch)
tree8ddc2093a8616793ab3749a2600fb48a2aad24a3
parentae45d7e6d8e6844cd4586c9ee97c21b257fa788f (diff)
Update for new vgaHW API.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
-rw-r--r--src/radeon_driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index a9abd663..81f5645a 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -3131,8 +3131,10 @@ Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags)
} else
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "VGAAccess option set to FALSE,"
" VGA module load skipped\n");
- if (info->VGAAccess)
+ if (info->VGAAccess) {
+ vgaHWSetStdFuncs(VGAHWPTR(pScrn));
vgaHWGetIOBase(VGAHWPTR(pScrn));
+ }
#endif