From 515d232162c8ea2c5ecabf12b88b0bf4eb5102e7 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 19 Dec 2011 17:47:38 -0500 Subject: Fix for new vgaHW ABI Signed-off-by: Adam Jackson --- src/gx_driver.c | 2 ++ src/lx_driver.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/gx_driver.c b/src/gx_driver.c index 47c20d2..b9904d1 100644 --- a/src/gx_driver.c +++ b/src/gx_driver.c @@ -445,6 +445,8 @@ GXPreInit(ScrnInfoPtr pScrni, int flags) if (pGeode->useVGA) { if (!xf86LoadSubModule(pScrni, "vgahw") || !vgaHWGetHWRec(pScrni)) pGeode->useVGA = FALSE; + else + vgaHWSetStdFuncs(VGAHWPTR(pScrni)); #if INT10_SUPPORT pGeode->vesa = calloc(1, sizeof(VESARec)); diff --git a/src/lx_driver.c b/src/lx_driver.c index a17854c..146d7c3 100644 --- a/src/lx_driver.c +++ b/src/lx_driver.c @@ -312,6 +312,8 @@ LXPreInit(ScrnInfoPtr pScrni, int flags) if (pGeode->useVGA) { if (!xf86LoadSubModule(pScrni, "vgahw") || !vgaHWGetHWRec(pScrni)) pGeode->useVGA = FALSE; + else + vgaHWSetStdFuncs(VGAHWPTR(pScrni)); pGeode->vesa = calloc(1, sizeof(VESARec)); } -- cgit v1.2.3