>> -
>> -    /* This can get called before the ScrnInfoRec is installed so we
>> -       can't rely on getting it with XF86SCRNINFO() */
>>      int scrnIndex = pmap->pScreen->myNum;
>>      ScrnInfoPtr scrninfp = xf86ScreenToScrn(pmap->pScreen);
>>      vgaHWPtr hwp = VGAHWPTR(scrninfp);
>
> Your new macro can handle the case where the private hasn't been set yet?

Yeah it just does the look ups in the global arrays, so there should never
be case where we need to worry about this, or at least it doesn't make us
worry about it more than we do now.

Dave.
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to