[Openchrome-devel] xf86-video-openchrome: 3 commits - configure.ac src/via_lvds.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Sat Aug 13 09:19:07 UTC 2016
configure.ac | 2 +-
src/via_lvds.c | 36 ++++++++++++++++++++++++++----------
2 files changed, 27 insertions(+), 11 deletions(-)
New commits:
commit 0fa5ca2d154fa1b1bd799e6f9bfb40c59f308e5c
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Sat Aug 13 02:18:23 2016 -0700
Version bumped to 0.5.129
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/configure.ac b/configure.ac
index 6c5af1b..6cad2a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
# Initialize Autoconf
AC_PREREQ(2.57)
AC_INIT([xf86-video-openchrome],
- [0.5.128],
+ [0.5.129],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
[xf86-video-openchrome])
commit 944563e5b28db2cc0c8d71bb491e3ea3d27d5a1c
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Fri Aug 12 22:59:22 2016 -0700
Set LVDS2 delay tap for CX700 family from via_lvds_mode_set
Rather than setting LVDS2 (LVDS Channel 2) integrated LVDS
transmitter delay tap value from viaSetLVDSOutput function, it will
now be set from via_lvds_mode_set callback function. This change is
only applicable to CX700 / VX700 chipsets.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_lvds.c b/src/via_lvds.c
index 3367268..3966a64 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -990,16 +990,6 @@ viaSetLVDSOutput(ScrnInfoPtr pScrn)
switch (pVia->Chipset) {
case VIA_CX700:
- /* 3X5.97[3:0] appears to be a register to adjust LVDS Channel 2
- * delay parameter. (the official name of the register is unknown) */
- ViaCrtcMask(hwp, 0x97, 0x01, 0x0F);
- break;
- default:
- break;
- }
-
- switch (pVia->Chipset) {
- case VIA_CX700:
case VIA_VX800:
case VIA_VX855:
case VIA_VX900:
@@ -1040,6 +1030,9 @@ via_lvds_mode_set(xf86OutputPtr output, DisplayModePtr mode,
case VIA_P4M900:
viaDFPLowSetDelayTap(pScrn, 0x08);
break;
+ case VIA_CX700:
+ viaLVDS2SetDelayTap(pScrn, 0x01);
+ break;
default:
break;
}
commit 281fc84bcb47c87cc7d452f549e571d0628fb5fd
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Fri Aug 12 22:47:14 2016 -0700
Added viaLVDS2SetDelayTap
viaLVDS2SetDelayTap function sets the delay tap value for LVDS2
(LVDS Channel 2) integrated LVDS transmitter. This function is
located 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 a91f30b..3367268 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -160,6 +160,29 @@ viaLVDS2SetDisplaySource(ScrnInfoPtr pScrn, CARD8 displaySource)
}
/*
+ * Sets LVDS2 (LVDS Channel 2) integrated LVDS transmitter delay tap.
+ */
+static void
+viaLVDS2SetDelayTap(ScrnInfoPtr pScrn, CARD8 delayTap)
+{
+ vgaHWPtr hwp = VGAHWPTR(pScrn);
+
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Entered viaLVDS2SetDelayTap.\n"));
+
+ /* Set LVDS2 delay tap.
+ /* 3X5.97[3:0] - LVDS2 Delay Tap */
+ ViaCrtcMask(hwp, 0x97, delayTap, 0x0F);
+
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "LVDS2 Delay Tap: %d\n",
+ (delayTap & 0x0F));
+
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Exiting viaLVDS2SetDelayTap.\n"));
+}
+
+/*
* Sets IGA1 or IGA2 as the display output source for VIA Technologies
* Chrome IGP DFP (Digital Flat Panel) Low interface.
*/
More information about the Openchrome-devel
mailing list