[Openchrome-users] [openChrome] #317: DVI monitor not working
OpenChrome Trac
trac
Wed Sep 9 01:59:22 PDT 2009
#317: DVI monitor not working
--------------------+-------------------------------------------------------
Reporter: aidy12 | Owner: somebody
Type: defect | Status: new
Priority: major | Component: dvi-out
Version: trunk | Resolution:
Keywords: | Blocking:
Blockedby: |
--------------------+-------------------------------------------------------
Comment(by gang65):
Sorry. I made mistake in previous function.
Please replace this function to the following:
{{{
void
ViaDFPPower(ScrnInfoPtr pScrn, Bool On)
{
#ifdef HAVE_DEBUG
if (On)
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "ViaDFPPower: On.\n");
else
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "ViaDFPPower: Off.\n");
#endif
vgaHWPtr hwp = VGAHWPTR(pScrn);
/* Display Channel Select */
ViaCrtcMask(hwp, 0xD2, 0x30, 0x30);
if (On)
/* Power on TMDS */
ViaCrtcMask(hwp, 0xD2, 0x00, 0x08);
else
/* Power off TMDS */
ViaCrtcMask(hwp, 0xD2, 0x08, 0x08);
}
}}}
--
Ticket URL: <http://www.openchrome.org/trac/ticket/317#comment:12>
openChrome <http://www.openchrome.org/>
The openChrome project
More information about the Openchrome-users
mailing list