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

Kevin Brace kevinbrace at kemper.freedesktop.org
Sun Feb 21 06:07:04 UTC 2016


 src/via_outputs.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 54c81b29754ff21ad2fc8f8dcc9affa4b5884b27
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sat Feb 20 21:55:04 2016 -0800

    Improvement of detected monitor type messages
    
    The words used for the debug messages sounded awkward, so they were
    reworded. Also, since it is in the interest of regular users to let
    them know the type of monitor detected, the messages will now be
    recorded in Xorg.0.log for the release build as well.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_outputs.c b/src/via_outputs.c
index e57fe53..0a0cc33 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -605,8 +605,8 @@ via_dp_detect(xf86OutputPtr output)
     mon = xf86OutputGetEDID(output, pVia->pI2CBus2);
     if (mon && DIGITAL(mon->features.input_type)) {
         xf86OutputSetEDID(output, mon);
-        DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
-                         "DDC pI2CBus2 detected a DP\n"));
+        xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
+                    "I2C Bus 2 detected a DP.\n");
         status = XF86OutputStatusConnected;
     }
     return status;
@@ -783,8 +783,8 @@ via_analog_detect(xf86OutputPtr output)
     mon = xf86OutputGetEDID(output, pVia->pI2CBus1);
     if (mon) {
         xf86OutputSetEDID(output, mon);
-        DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
-                         "DDC pI2CBus1 detected a CRT\n"));
+        xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
+                    "I2C Bus 1 detected a VGA monitor.\n");
         status = XF86OutputStatusConnected;
     } else {
         vgaHWPtr hwp = VGAHWPTR(pScrn);


More information about the Openchrome-devel mailing list