[Openchrome-devel] xf86-video-openchrome: 2 commits - configure.ac src/via_ums.h

Kevin Brace kevinbrace at kemper.freedesktop.org
Thu Jul 6 00:47:01 UTC 2017


 configure.ac  |    2 +-
 src/via_ums.h |   17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

New commits:
commit 889f7915503c77983cf0031106985e517af2fb5c
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Wed Jul 5 19:46:07 2017 -0500

    Version bumped to 0.6.150
    
    Hopefully, this fixes another regression introduced by Version 0.6.149.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/configure.ac b/configure.ac
index 8f4052c..6876bda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.6.149],
+        [0.6.150],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit 479368715d2d2f9ed0df4805fd3b79f0b6fcf750
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Wed Jul 5 19:44:37 2017 -0500

    Added viaFPSetSecondaryDirectDisplayPeriod
    
    This is an inline function.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_ums.h b/src/via_ums.h
index 6ed01f0..e4986a3 100644
--- a/src/via_ums.h
+++ b/src/via_ums.h
@@ -825,6 +825,23 @@ viaFPSetSecondaryDirectBackLightCtrl(ScrnInfoPtr pScrn, Bool directOn)
 }
 
 /*
+ * Sets CX700 / VX700 or later chipset's FP secondary direct
+ * display period control.
+ */
+static inline void
+viaFPSetSecondaryDirectDisplayPeriod(ScrnInfoPtr pScrn, Bool directOn)
+{
+    /* 3X5.D3[7] - FP Secondary Direct Display Period Control
+     *             0: On
+     *             1: Off */
+    ViaCrtcMask(VGAHWPTR(pScrn), 0xD3,
+                directOn ? 0x00 : BIT(7), BIT(7));
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "FP Secondary Direct Display Period "
+                        "Control: %s\n", directOn ? "On" : "Off"));
+}
+
+/*
  * Sets FP secondary hardware controlled power sequence enable bit.
  */
 static inline void


More information about the Openchrome-devel mailing list