mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
Remove unused function XGIBridgeIsInSlaveMode.
This commit is contained in:
@@ -402,7 +402,6 @@ static void XGIDumpPart4(ScrnInfoPtr pScrn);
|
||||
static void XGIDumpMMIO(ScrnInfoPtr pScrn);
|
||||
#endif
|
||||
|
||||
static BOOLEAN XGIBridgeIsInSlaveMode(ScrnInfoPtr pScrn);
|
||||
static int XGICalcVRate(DisplayModePtr mode);
|
||||
static unsigned char XGISearchCRT1Rate(ScrnInfoPtr pScrn,
|
||||
DisplayModePtr mode);
|
||||
@@ -6383,19 +6382,6 @@ PDEBUG(ErrorF(" XGIPostSetMode(). \n"));
|
||||
*/
|
||||
}
|
||||
|
||||
/* Check if video bridge is in slave mode */
|
||||
BOOLEAN
|
||||
XGIBridgeIsInSlaveMode(ScrnInfoPtr pScrn)
|
||||
{
|
||||
XGIPtr pXGI = XGIPTR(pScrn);
|
||||
unsigned char usScratchP1_00;
|
||||
|
||||
if(!(pXGI->XGI_Pr->XGI_VBType & VB_XGIVB)) return FALSE;
|
||||
|
||||
inXGIIDXREG(XGIPART1,0x00,usScratchP1_00);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Build a list of the VESA modes the BIOS reports as valid */
|
||||
static void
|
||||
XGIBuildVesaModeList(ScrnInfoPtr pScrn, vbeInfoPtr pVbe, VbeInfoBlock *vbe)
|
||||
|
||||
Reference in New Issue
Block a user