On 09/07/2011 09:18 PM, Xavier Bachelot wrote:
> On 09/07/2011 05:47 PM, James Simmons wrote:
>>
>>> Hi James,
>>>
>>> Starting with r953, the monitor connected to VGA goes blank (no signal)
>>> when X starts. Please find attached xorg log from r952 and r956.
>>
>> Thanks to Xavier we tracked down the issue to the legacy mode setting
>> code. If you turn off legacy mode setting for older devices the xorg
>> drievr starts to work which brings up the question. Should we drop legacy
>> mode setting? For now I would just turn it off. If I do this could people
>> with KM400 and CLE266 hardware test to make sure their are no regressions.
>> Thank you.
>>
> To turn off legacy mode switch, you can either use the undocumented
> ModeSwitchMethod option, by adding
> Option "ModeSwitchMethod" "new"
> to the device section of your xorg conf, or apply the attached patch.
>
Oops, wrong branch. This patch is better.
X.
Index: src/via_driver.c
===================================================================
--- src/via_driver.c (revision 970)
+++ src/via_driver.c (working copy)
@@ -580,15 +580,12 @@
switch (pVia->Chipset) {
case VIA_CLE266:
- pVia->UseLegacyModeSwitch = TRUE;
pBIOSInfo->TVDIPort = VIA_DI_PORT_DVP0;
+ break;
case VIA_KM400:
/* IRQ is not broken on KM400A, but testing (pVia->ChipRev < 0x80)
* is not enough to make sure we have an older, broken KM400. */
pVia->DRIIrqEnable = FALSE;
-
- /* The KM400 not working properly with new mode switch (See Ticket #301) */
- pVia->UseLegacyModeSwitch = TRUE;
pBIOSInfo->TVDIPort = VIA_DI_PORT_DVP0;
break;
case VIA_K8M800:
_______________________________________________
Openchrome-devel mailing list
[email protected]
http://wiki.openchrome.org/mailman/listinfo/openchrome-devel