src/via_lvds.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
New commits: commit ca835d7f3dce3e120aa34e3d3bafc2fca0a38e28 Author: Kevin Brace <kevinbr...@gmx.com> Date: Thu Apr 14 22:29:25 2016 -0700 Debug messages quality improvement within ViaLVDSPower Improved the quality of debug messages within ViaLVDSPower function inside via_lvds.c. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_lvds.c b/src/via_lvds.c index c11c39a..4935fc6 100644 --- a/src/via_lvds.c +++ b/src/via_lvds.c @@ -265,9 +265,10 @@ ViaLVDSPowerChannel(ScrnInfoPtr pScrn, Bool on) static void ViaLVDSPower(ScrnInfoPtr pScrn, Bool on) { - DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "ViaLVDSPower %d\n", on)); VIAPtr pVia = VIAPTR(pScrn); + DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Entered ViaLVDSPower.\n")); /* * VX800, CX700 have HW issue, so we'd better use SW power sequence * Fix Ticket #308 @@ -286,6 +287,13 @@ ViaLVDSPower(ScrnInfoPtr pScrn, Bool on) ViaLVDSDFPPower(pScrn, on); ViaLVDSPowerChannel(pScrn, on); + + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Integrated LVDS Flat Panel Power: %s\n", + on ? "On" : "Off"); + + DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Exiting ViaLVDSPower.\n")); } static void _______________________________________________ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel