src/via_driver.c | 1 - src/via_lvds.c | 14 -------------- src/via_ums.h | 2 -- 3 files changed, 17 deletions(-)
New commits: commit 0c8063c8d4cc080f5c177ae1993ff5f615f0b8eb Author: Kevin Brace <kevinbr...@gmx.com> Date: Tue Apr 12 10:11:20 2016 -0700 Removal of ForcePanel variable When ForcePanel option was discontinued, the variable in a structure that stored the state of this option was not removed. It is now gone. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_ums.h b/src/via_ums.h index cb01276..f768a8e 100644 --- a/src/via_ums.h +++ b/src/via_ums.h @@ -135,7 +135,6 @@ typedef struct ViaPanelInfo { /* Panel/LCD entries */ CARD16 ResolutionIndex; - Bool ForcePanel; int PanelIndex; Bool Center; Bool SetDVI; commit 8677096bee772ebef42a536c614163b75a5c302a Author: Kevin Brace <kevinbr...@gmx.com> Date: Tue Apr 12 10:06:07 2016 -0700 Removal of BusWidth option After analyzing the code, it appears that BusWidth option was not utilized at all. Therefore, this option for use in xorg.conf is discontinued. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_driver.c b/src/via_driver.c index 6cc1252..39f0690 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -176,7 +176,6 @@ typedef enum OPTION_ROTATE, OPTION_VIDEORAM, OPTION_I2CDEVICES, - OPTION_BUSWIDTH, OPTION_CENTER, OPTION_TVDOTCRAWL, OPTION_TVTYPE, diff --git a/src/via_lvds.c b/src/via_lvds.c index 900b44d..c11c39a 100644 --- a/src/via_lvds.c +++ b/src/via_lvds.c @@ -40,13 +40,11 @@ * Option handling. */ enum ViaPanelOpts { - OPTION_BUSWIDTH, OPTION_CENTER }; static OptionInfoRec ViaPanelOptions[] = { - {OPTION_BUSWIDTH, "BusWidth", OPTV_ANYSTR, {0}, FALSE}, {OPTION_CENTER, "Center", OPTV_BOOLEAN, {0}, FALSE}, {-1, NULL, OPTV_NONE, {0}, FALSE} }; @@ -1037,18 +1035,6 @@ via_lvds_init(ScrnInfoPtr pScrn) xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, Options); Panel->NativeModeIndex = VIA_PANEL_INVALID; - Panel->BusWidth = VIA_DI_12BIT; - if ((s = xf86GetOptValString(Options, OPTION_BUSWIDTH))) { - from = X_CONFIG; - if (!xf86NameCmp(s, "12BIT")) { - Panel->BusWidth = VIA_DI_12BIT; - } else if (!xf86NameCmp(s, "24BIT")) { - Panel->BusWidth = VIA_DI_24BIT; - } - } - xf86DrvMsg(pScrn->scrnIndex, from, - "LVDS-0 : Digital output bus width is %d bits.\n", - (Panel->BusWidth == VIA_DI_12BIT) ? 12 : 24); /* LCD Center/Expend Option */ Panel->Center = FALSE; diff --git a/src/via_ums.h b/src/via_ums.h index a03619c..cb01276 100644 --- a/src/via_ums.h +++ b/src/via_ums.h @@ -138,7 +138,6 @@ typedef struct ViaPanelInfo { Bool ForcePanel; int PanelIndex; Bool Center; - CARD8 BusWidth; /* Digital Output Bus Width */ Bool SetDVI; /* LCD Simultaneous Expand Mode HWCursor Y Scale */ Bool scaleY; _______________________________________________ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel