mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 20:29:12 +00:00
Fix VT switching in EXA acceleration.
This commit is contained in:
@@ -268,9 +268,8 @@ AlpSync(ScreenPtr pScreen, int marker)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
AlpAccelEngineInit(ScreenPtr pScreen)
|
AlpAccelEngineInit(ScrnInfoPtr pScrn)
|
||||||
{
|
{
|
||||||
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
|
|
||||||
CirPtr pCir = CIRPTR(pScrn);
|
CirPtr pCir = CIRPTR(pScrn);
|
||||||
|
|
||||||
outw(pCir->PIOReg, 0x200E); /* enable writes to gr33 */
|
outw(pCir->PIOReg, 0x200E); /* enable writes to gr33 */
|
||||||
@@ -291,7 +290,9 @@ AlpEXAInit(ScreenPtr pScreen)
|
|||||||
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
|
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
|
||||||
CirPtr pCir = CIRPTR(pScrn);
|
CirPtr pCir = CIRPTR(pScrn);
|
||||||
|
|
||||||
AlpAccelEngineInit(pScreen);
|
AlpAccelEngineInit(pScrn);
|
||||||
|
|
||||||
|
pCir->InitAccel = AlpAccelEngineInit;
|
||||||
|
|
||||||
pCir->ExaDriver->exa_major = EXA_VERSION_MAJOR;
|
pCir->ExaDriver->exa_major = EXA_VERSION_MAJOR;
|
||||||
pCir->ExaDriver->exa_minor = EXA_VERSION_MINOR;
|
pCir->ExaDriver->exa_minor = EXA_VERSION_MINOR;
|
||||||
|
|||||||
Reference in New Issue
Block a user