diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:18 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:18 +0000 |
commit | bec47f9369b6f02ce4537ab1ac547ba933609edc (patch) | |
tree | 4fc679522a0ba2737836772b91bc77aeca933bdf /src/i810_driver.c | |
parent | c5b1972b50a6dbe57c67d3cc88ae010386b908a6 (diff) |
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613
Diffstat (limited to 'src/i810_driver.c')
-rw-r--r-- | src/i810_driver.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c index 25a60f9d..36dc956b 100644 --- a/src/i810_driver.c +++ b/src/i810_driver.c @@ -292,6 +292,7 @@ static const char *driSymbols[] = { "DRIScreenInit", "DRIUnlock", "GlxSetVisualConfigs", + "DRICreatePCIBusID", NULL }; @@ -2273,10 +2274,13 @@ I810EnterVT(int scrnIndex, int flags) if (I810_DEBUG & DEBUG_VERBOSE_DRI) ErrorF("\n\nENTER VT\n"); - if (!I810BindGARTMemory(pScrn)) + if (!I810BindGARTMemory(pScrn)) { return FALSE; - + } #ifdef XF86DRI + if (!I810DRIEnter(pScrn)) { + return FALSE; + } if (pI810->directRenderingEnabled) { if (I810_DEBUG & DEBUG_VERBOSE_DRI) ErrorF("calling dri unlock\n"); @@ -2319,6 +2323,10 @@ I810LeaveVT(int scrnIndex, int flags) if (!I810UnbindGARTMemory(pScrn)) return; +#ifdef XF86DRI + if (!I810DRILeave(pScrn)) + return; +#endif vgaHWLock(hwp); } |