(!1988) 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:
		
							parent
							
								
									96d9bdc394
								
							
						
					
					
						commit
						7ae4797cfb
					
				| 
						 | 
					@ -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 */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue