xfree86: remove xf86EnableAccess
It's RAC remnant. This was substituted by xf86VGAarbiter{Lock, Unlock} mechanism. It's an API break, but the few drivers using it were covered already with macros to avoid problems. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
f28515b5f7
commit
0dd299864a
|
@ -104,7 +104,6 @@ extern _X_EXPORT void xf86FormatPciBusNumber(int busnum, char *buffer);
|
|||
extern _X_EXPORT int xf86GetFbInfoForScreen(int scrnIndex);
|
||||
extern _X_EXPORT int xf86ClaimFbSlot(DriverPtr drvp, int chipset, GDevPtr dev, Bool active);
|
||||
extern _X_EXPORT int xf86ClaimNoSlot(DriverPtr drvp, int chipset, GDevPtr dev, Bool active);
|
||||
extern _X_EXPORT void xf86EnableAccess(ScrnInfoPtr pScrn);
|
||||
extern _X_EXPORT Bool xf86IsPrimaryPci(struct pci_device * pPci);
|
||||
/* new RAC */
|
||||
extern _X_EXPORT Bool xf86DriverHasEntities(DriverPtr drvp);
|
||||
|
|
|
@ -370,29 +370,6 @@ xf86AccessLeave(void)
|
|||
xf86Entities[i]->entityLeave(i,xf86Entities[i]->private);
|
||||
}
|
||||
|
||||
/*
|
||||
* xf86EnableAccess() -- enable access to controlled resources.
|
||||
* To reduce latency when switching access the ScrnInfoRec has
|
||||
* a linked list of the EntityAccPtr of all screen entities.
|
||||
*/
|
||||
/*
|
||||
* switching access needs to be done in te following oder:
|
||||
* disable
|
||||
* 1. disable old entity
|
||||
* 2. reroute bus
|
||||
* 3. enable new entity
|
||||
* Otherwise resources needed for access control might be shadowed
|
||||
* by other resources!
|
||||
*/
|
||||
|
||||
void
|
||||
xf86EnableAccess(ScrnInfoPtr pScrn)
|
||||
{
|
||||
DebugF("Enable access %i\n",pScrn->scrnIndex);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* xf86EnterServerState() -- set state the server is in.
|
||||
*/
|
||||
|
|
|
@ -833,7 +833,6 @@ DoConfigure(void)
|
|||
|
||||
ConfiguredMonitor = NULL;
|
||||
|
||||
xf86EnableAccess(xf86Screens[dev2screen[j]]);
|
||||
if ((*xf86Screens[dev2screen[j]]->PreInit)(xf86Screens[dev2screen[j]],
|
||||
PROBE_DETECT) &&
|
||||
ConfiguredMonitor) {
|
||||
|
|
Loading…
Reference in New Issue