mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
hw/xfree86/common: remove xf86PostProbe
A long time ago, this function used to initialize various screen resources. Now, this function just kills the X server in various circumstances for no good reason. Fixes:fc78bcca21Fixes:728b54528dFixes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/issues/9 Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
f8973ffc2e
commit
22d963bc4d
@@ -553,30 +553,6 @@ xf86GetDevFromEntity(int entityIndex, int instance)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* xf86PostProbe() -- Allocate all non conflicting resources
|
||||
* This function gets called by xf86Init().
|
||||
*/
|
||||
void
|
||||
xf86PostProbe(void)
|
||||
{
|
||||
if (fbSlotClaimed && (
|
||||
#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__)
|
||||
sbusSlotClaimed ||
|
||||
#endif
|
||||
#ifdef XSERVER_PLATFORM_BUS
|
||||
platformSlotClaimed ||
|
||||
#endif
|
||||
#ifdef XSERVER_LIBPCIACCESS
|
||||
pciSlotClaimed
|
||||
#else
|
||||
TRUE
|
||||
#endif
|
||||
))
|
||||
FatalError("Cannot run in framebuffer mode. Please specify busIDs "
|
||||
" for all framebuffer devices\n");
|
||||
}
|
||||
|
||||
Bool
|
||||
xf86IsEntityShared(int entityIndex)
|
||||
{
|
||||
|
||||
@@ -83,7 +83,6 @@ _X_EXPORT /* only for internal int10 module - not supposed to be used by OOT dri
|
||||
ScrnInfoPtr xf86FindScreenForEntity(int entityIndex);
|
||||
|
||||
Bool xf86BusConfig(void);
|
||||
void xf86PostProbe(void);
|
||||
void xf86ClearEntityListForScreen(ScrnInfoPtr pScrn);
|
||||
void xf86RemoveDevFromEntity(int entityIndex, GDevPtr dev);
|
||||
|
||||
|
||||
@@ -769,8 +769,6 @@ DoConfigure(void)
|
||||
goto bail;
|
||||
}
|
||||
|
||||
xf86PostProbe();
|
||||
|
||||
for (j = 0; j < xf86NumScreens; j++) {
|
||||
xf86Screens[j]->scrnIndex = j;
|
||||
}
|
||||
|
||||
@@ -444,7 +444,6 @@ InitOutput(int argc, char **argv)
|
||||
if (xf86BusConfig() == FALSE)
|
||||
return;
|
||||
|
||||
xf86PostProbe();
|
||||
|
||||
/*
|
||||
* Sort the drivers to match the requested ording. Using a slow
|
||||
|
||||
Reference in New Issue
Block a user