KaaMarkSync function

cyrus lien cyruslien at gmail.com
Mon Mar 12 19:57:56 PDT 2007


Hi all,

    I am trying to add I915G 2D acceleration support in kdrive Xi180.
I got segfault problem when calling KaaMarkSync in EnableAccel function.

void
i810EnableAccel(ScreenPtr pScreen)
{
    KdScreenPriv(pScreen);
    i810CardInfo(pScreenPriv);
    if (i810c->LpRing.mem.Size == 0) {
        ErrorF("No memory for LpRing!! Acceleration not functional!!\n");
    }
    i810SetRingRegs(i810c);

    kaaMarkSync (pScreen);
}

Can anyone tell me what does function "KaaMarkSync" do ?

void
kaaMarkSync (ScreenPtr pScreen)
{
    KdScreenPriv(pScreen);
    KaaScreenPriv(pScreen);
    pScreenPriv->card->needSync = TRUE;

    if (pKaaScr->info->markSync != NULL) {
        pScreenPriv->card->lastMarker = (*pKaaScr->info->markSync)
(pScreen);
    }
}

After trace KaaMarkSync, it seems that Xi810 didn't implement the function
"kaa.markSync", do I need to implement it ? How ?

Thanks for help.

Cyrus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070313/00d2fa12/attachment.html>


More information about the xorg mailing list