[Openchrome-devel] xf86-video-openchrome: 3 commits - configure.ac src/via_display.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Mon May 23 08:49:25 UTC 2016
configure.ac | 2 +-
src/via_display.c | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
New commits:
commit 75d1c6898175b280419bfa11abdecd3a7663f151
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Mon May 23 01:48:47 2016 -0700
Version bumped to 0.4.155
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/configure.ac b/configure.ac
index 6f71949..885b356 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
# Initialize Autoconf
AC_PREREQ(2.57)
AC_INIT([xf86-video-openchrome],
- [0.4.154],
+ [0.4.155],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
[xf86-video-openchrome])
commit f2e844ba5b06aa2976d8f294e322c56bc46e014d
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Mon May 23 01:47:20 2016 -0700
Forgot to add debug code for CR36 (3X5.36)
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_display.c b/src/via_display.c
index 28f2c94..d34fb3a 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -334,6 +334,9 @@ viaIGAInitCommon(ScrnInfoPtr pScrn)
temp = hwp->readSeq(hwp, 0x3F);
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"SR3F: 0x%02X\n", temp));
+ temp = hwp->readCrtc(hwp, 0x36);
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "CR36: 0x%02X\n", temp));
#endif
/* Be careful with 3C5.15[5] - Wrap Around Disable.
commit ca7991f3d64bab946941b96ff1005b26a472665e
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Mon May 23 00:44:45 2016 -0700
Making sure PCI Power Management Control bit is turned on
viaIGAInitCommon function now turns this bit on. This function is
located inside via_display.c.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_display.c b/src/via_display.c
index aff642a..28f2c94 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -500,6 +500,22 @@ viaIGAInitCommon(ScrnInfoPtr pScrn)
* 11: Clock on/off according to each engine IDLE status */
ViaSeqMask(hwp, 0x3F, 0xFF, 0xFF);
+ /* 3X5.36[7] - DPMS VSYNC Output
+ * 3X5.36[6] - DPMS HSYNC Output
+ * 3X5.36[5:4] - DPMS Control
+ * 00: On
+ * 01: Stand-by
+ * 10: Suspend
+ * 11: Off
+ * When the DPMS state is off, both HSYNC and VSYNC
+ * are grounded, saving monitor power consumption.
+ * 3X5.36[3] - Horizontal Total Bit [8]
+ * 3X5.36[2:1] - Reserved
+ * 3X5.36[0] - PCI Power Management Control
+ * 0: Disable
+ * 1: Enable */
+ ViaCrtcMask(hwp, 0x36, 0x01, 0x01);
+
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Exiting viaIGAInitCommon.\n"));
}
More information about the Openchrome-devel
mailing list