xfree86: drop obsolete xf86VGAarbiterDeviceDecodes()

Not used by anybody, so no need to keep it anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-19 17:31:45 +02:00
parent b31b4c0ae2
commit b20ef5b181
3 changed files with 0 additions and 15 deletions

View File

@ -122,8 +122,6 @@ extern _X_EXPORT ScrnInfoPtr xf86ConfigPciEntity(ScrnInfoPtr pScrn,
EntityProc enter, EntityProc enter,
EntityProc leave, EntityProc leave,
void *private); void *private);
#else
#define xf86VGAarbiterDeviceDecodes() do {} while (0)
#endif #endif
/* xf86Bus.c */ /* xf86Bus.c */

View File

@ -137,15 +137,6 @@ xf86VGAarbiterScrnInit(ScrnInfoPtr pScrn)
pScrn->vgaDev = dev; pScrn->vgaDev = dev;
} }
void
xf86VGAarbiterDeviceDecodes(ScrnInfoPtr pScrn, int rsrc)
{
if (vga_no_arb)
return;
pci_device_vgaarb_set_target(pScrn->vgaDev);
pci_device_vgaarb_decodes(rsrc);
}
Bool Bool
xf86VGAarbiterWrapFunctions(void) xf86VGAarbiterWrapFunctions(void)
{ {

View File

@ -30,10 +30,6 @@
#include "misc.h" #include "misc.h"
#include "xf86.h" #include "xf86.h"
/* allow a driver to remove itself from arbiter - really should be
* done in the kernel though */
extern _X_EXPORT void xf86VGAarbiterDeviceDecodes(ScrnInfoPtr pScrn, int rsrc);
/* DRI and arbiter are really not possible together, /* DRI and arbiter are really not possible together,
* you really want to remove the card from arbitration if you can */ * you really want to remove the card from arbitration if you can */
extern _X_EXPORT Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen); extern _X_EXPORT Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen);