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

Kevin Brace kevinbrace at kemper.freedesktop.org
Thu Mar 31 05:55:20 UTC 2016


 src/via_lvds.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit b77de4f3c9e43187aff9c1817b24c8a5fba2f883
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Wed Mar 30 22:54:25 2016 -0700

    Modified debug messages within via_lvds_get_modes
    
    Modified debug messages within via_lvds_get_modes function inside via_lvds.c.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_lvds.c b/src/via_lvds.c
index cf189cc..900b44d 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -918,6 +918,9 @@ via_lvds_get_modes(xf86OutputPtr output)
     ScrnInfoPtr pScrn = output->scrn;
     DisplayModePtr pDisplay_Mode = NULL;
 
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Entered via_lvds_get_modes.\n"));
+
     if (output->status == XF86OutputStatusConnected) {
         if (!output->MonInfo) {
             /*
@@ -956,13 +959,16 @@ via_lvds_get_modes(xf86OutputPtr output)
                 }
             } else {
                 xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
-                            "Invalid panel dimension (%dx%d)\n",
+                            "Invalid Flat Panel Screen Resolution: "
+                            "%dx%d\n",
                             pPanel->NativeWidth, pPanel->NativeHeight);
             }
         } else {
             pDisplay_Mode = xf86OutputGetEDIDModes(output);
         }
     }
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Exiting via_lvds_get_modes.\n"));
     return pDisplay_Mode;
 }
 


More information about the Openchrome-devel mailing list