[Openchrome-devel] xf86-video-openchrome: src/via_tmds.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Mon Jul 3 05:50:46 UTC 2017
src/via_tmds.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 13b9c33691b530b77e9b4efdcbd1951ef9d29e6c
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Mon Jul 3 00:49:34 2017 -0500
Version bumped to 0.6.146
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_tmds.c b/src/via_tmds.c
index fb68d19..147c61c 100644
--- a/src/via_tmds.c
+++ b/src/via_tmds.c
@@ -164,12 +164,17 @@ viaTMDSPower(ScrnInfoPtr pScrn, Bool powerState)
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Entered viaTMDSPower.\n"));
+ /* Use hardware FP power sequence control. */
+ viaFPSetPrimaryPowerSeqType(pScrn, TRUE);
+
if (powerState) {
- viaFPSetPrimaryDirectDisplayPeriod(pScrn, TRUE);
+ viaFPSetPrimaryHardPower(pScrn, TRUE);
viaTMDSSetPower(pScrn, TRUE);
+ viaFPSetPrimaryDirectDisplayPeriod(pScrn, TRUE);
} else {
- viaTMDSSetPower(pScrn, FALSE);
viaFPSetPrimaryDirectDisplayPeriod(pScrn, FALSE);
+ viaTMDSSetPower(pScrn, FALSE);
+ viaFPSetPrimaryHardPower(pScrn, FALSE);
}
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
More information about the Openchrome-devel
mailing list