[Openchrome-devel] xf86-video-openchrome: src/via_driver.c src/via_lvds.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Thu Mar 17 00:22:34 UTC 2016


 src/via_driver.c |    1 -
 src/via_lvds.c   |   10 ----------
 2 files changed, 11 deletions(-)

New commits:
commit d951436e76ee9ec0ea96091c42ca379ec5ba2f29
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Wed Mar 16 17:20:12 2016 -0700

    Removal of ForcePanel option
    
    Since the LVDS interface flat panel and DVI monitor are now automatically
    detected, ForcePanel option in xorg.conf is now removed.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_driver.c b/src/via_driver.c
index 82a7d20..c98fdae 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -181,7 +181,6 @@ typedef enum
     OPTION_BUSWIDTH,
     OPTION_CENTER,
     OPTION_PANELSIZE,
-    OPTION_FORCEPANEL,
     OPTION_TVDOTCRAWL,
     OPTION_TVTYPE,
     OPTION_TVOUTPUT,
diff --git a/src/via_lvds.c b/src/via_lvds.c
index bbfbd0f..f423c8e 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -42,7 +42,6 @@
 enum ViaPanelOpts {
     OPTION_BUSWIDTH,
     OPTION_CENTER,
-    OPTION_FORCEPANEL,
     OPTION_PANELSIZE
 };
 
@@ -50,7 +49,6 @@ static OptionInfoRec ViaPanelOptions[] =
 {
     {OPTION_BUSWIDTH,   "BusWidth",     OPTV_ANYSTR,    {0},    FALSE},
     {OPTION_CENTER,     "Center",       OPTV_BOOLEAN,   {0},    FALSE},
-    {OPTION_FORCEPANEL, "ForcePanel",   OPTV_BOOLEAN,   {0},    FALSE}, /* last resort */
     {OPTION_PANELSIZE,  "PanelSize",    OPTV_ANYSTR,    {0},    FALSE},
     {-1,                NULL,           OPTV_NONE,      {0},    FALSE}
 };
@@ -1531,7 +1529,6 @@ via_lvds_init(ScrnInfoPtr pScrn)
     MessageType from = X_DEFAULT;
     VIAPtr pVia = VIAPTR(pScrn);
     xf86OutputPtr output = NULL;
-    Bool ForcePanel = FALSE;
     const char *s = NULL;
 
     if (!Panel)
@@ -1561,13 +1558,6 @@ via_lvds_init(ScrnInfoPtr pScrn)
     xf86DrvMsg(pScrn->scrnIndex, from, "LVDS-0 : DVI Center is %s.\n",
                Panel->Center ? "enabled" : "disabled");
 
-    /* Force the use of the Panel? */
-    from = xf86GetOptValBool(Options, OPTION_FORCEPANEL,
-                             &ForcePanel)
-            ? X_CONFIG : X_DEFAULT;
-    xf86DrvMsg(pScrn->scrnIndex, from, "LVDS Panel will %sbe forced.\n",
-               ForcePanel ? "" : "not ");
-
     /* Panel Size Option */
     if ((s = xf86GetOptValString(Options, OPTION_PANELSIZE))) {
         ViaPanelGetNativeModeFromOption(pScrn, Panel, s);


More information about the Openchrome-devel mailing list