summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-12-19 16:57:40 -0500
committerAdam Jackson <ajax@redhat.com>2011-12-19 16:57:40 -0500
commitb3d61828837661c9b383378a7d6006752659108b (patch)
tree9c0cdb2636596810735cd8c95bfa238eb49bf24c /src
parent5b7f07f8171dd5ca4f13d7da25d7d91140b036e1 (diff)
Fix for new vgahw ABI
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/nv_driver.c1
-rw-r--r--src/riva_driver.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 195299a..527ae5f 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -1543,6 +1543,7 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
xf86FreeInt10(pNv->pInt);
return FALSE;
}
+ vgaHWSetStdFuncs(VGAHWPTR(pScrn));
/* We use a programmable clock */
pScrn->progClock = TRUE;
diff --git a/src/riva_driver.c b/src/riva_driver.c
index f0fcab4..b52f476 100644
--- a/src/riva_driver.c
+++ b/src/riva_driver.c
@@ -484,6 +484,7 @@ RivaPreInit(ScrnInfoPtr pScrn, int flags)
xf86FreeInt10(pRiva->pInt);
return FALSE;
}
+ vgaHWSetStdFuncs(VGAHWPTR(pScrn));
/* We use a programmable clock */
pScrn->progClock = TRUE;