diff --git a/src/vstruct.h b/src/vstruct.h index 22463c8..7c407c1 100644 --- a/src/vstruct.h +++ b/src/vstruct.h @@ -87,9 +87,6 @@ typedef struct _XGI_Private /* FIXME: This field is tested but is never set. */ USHORT XGI_IF_DEF_CONEX; - /* FIXME: These two fields are set but never used. */ - SHORT PDC, PDCA; - /* FIXME: These two fields are tested but is never set. */ USHORT XGI_ModeType; USHORT XGI_VBInfo; diff --git a/src/xgi.h b/src/xgi.h index 2d0aae4..bc44dff 100644 --- a/src/xgi.h +++ b/src/xgi.h @@ -543,7 +543,6 @@ typedef struct { unsigned long VBFlags; /* Video bridge configuration */ unsigned long VBFlags_backup; /* Backup for SlaveMode-modes */ - unsigned int PDC, PDCA; /* PanelDelayCompensation */ short scrnOffset; /* Screen pitch (data) */ short scrnPitch; /* Screen pitch (display; regarding interlace) */ unsigned long DstColor; diff --git a/src/xgi_driver.c b/src/xgi_driver.c index 2908f42..1900a02 100644 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -2562,7 +2562,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) pXGIEnt->XGI_Pr = pXGI->XGI_Pr; #endif memset(pXGI->XGI_Pr, 0, sizeof(XGI_Private)); - pXGI->XGI_Pr->PDC = pXGI->XGI_Pr->PDCA = -1; pXGI->XGI_Pr->LVDSHL = -1; } diff --git a/src/xgi_opt.c b/src/xgi_opt.c index d78f2d1..e6722e5 100644 --- a/src/xgi_opt.c +++ b/src/xgi_opt.c @@ -60,10 +60,6 @@ typedef enum { OPTION_ROTATE, OPTION_NOXVIDEO, OPTION_MAXXFBMEM, - OPTION_PDC, - OPTION_PDCA, - OPTION_PDCS, - OPTION_PDCAS, OPTION_USEROMDATA, OPTION_NOINTERNALMODES, OPTION_RESTOREBYSET, @@ -124,10 +120,6 @@ static const OptionInfoRec XGIOptions[] = { { OPTION_ROTATE, "Rotate", OPTV_STRING, {0}, FALSE }, { OPTION_NOXVIDEO, "NoXvideo", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_MAXXFBMEM, "MaxXFBMem", OPTV_INTEGER, {0}, -1 }, - { OPTION_PDC, "PanelDelayCompensation", OPTV_INTEGER, {0}, -1 }, - { OPTION_PDCA, "PanelDelayCompensation1",OPTV_INTEGER, {0}, -1 }, - { OPTION_PDCS, "PDC", OPTV_INTEGER, {0}, -1 }, - { OPTION_PDCAS, "PDC1", OPTV_INTEGER, {0}, -1 }, { OPTION_LVDSHL, "LVDSHL", OPTV_INTEGER, {0}, -1 }, { OPTION_SPECIALTIMING, "SpecialTiming", OPTV_STRING, {0}, -1 }, { OPTION_USEROMDATA, "UseROMData", OPTV_BOOLEAN, {0}, -1 }, @@ -215,8 +207,6 @@ xgiOptions(ScrnInfoPtr pScrn) pXGI->agpWantedPages = AGP_PAGES; pXGI->NoXvideo = FALSE; pXGI->maxxfbmem = 0; - pXGI->PDC = -1; - pXGI->PDCA = -1; pXGI->OptROMUsage = -1; pXGI->noInternalModes = FALSE; pXGI->NonDefaultPAL = pXGI->NonDefaultNTSC = -1; @@ -331,7 +321,6 @@ xgiOptions(ScrnInfoPtr pScrn) if((pXGI->DualHeadMode) && (pXGI->SecondHead)) { static const char *mystring = "Option \"%s\" is only accepted in Master Head's device section\n"; Bool val; - int vali; if(xf86GetOptValBool(pXGI->Options, OPTION_TURBOQUEUE, &val)) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "TurboQueue"); @@ -366,14 +355,6 @@ xgiOptions(ScrnInfoPtr pScrn) if(xf86GetOptValString(pXGI->Options, OPTION_YPBPRAR)) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "YPbPrAspectRatio"); } - if((xf86GetOptValInteger(pXGI->Options, OPTION_PDC, &vali)) || - (xf86GetOptValInteger(pXGI->Options, OPTION_PDCS, &vali))) { - xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "PanelDelayCompensation (PDC)"); - } - if((xf86GetOptValInteger(pXGI->Options, OPTION_PDCA, &vali)) || - (xf86GetOptValInteger(pXGI->Options, OPTION_PDCAS, &vali))) { - xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "PanelDelayCompensation1 (PDC1)"); - } if(xf86GetOptValString(pXGI->Options, OPTION_SPECIALTIMING)) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "SpecialTiming"); }