Comment 12 for bug 140051

Revision history for this message
Martin-Éric Racine (q-funk) wrote : Re: amd driver fails to autoconfigure

Another comment from Anti Sullin:

> So for a quick fix without any monitor detection, I just added
>
> if (flags & PROBE_DETECT) return TRUE;
>
> to the LXPreInit beginning (after variable declarations).
> X comes up and we have a picture... although 800x600@60Hz, 256colors only.

Btw, this hack just makes the probe work, but it breaks DDC. The exact PROBE_DETECT check comes a bit later, but the code in between crashes.

I guess that the the existing PROBE_DETECT flag check with GeodeProbeDDC() call should be moved before vgahw module loading, but I haven't looked all dependencies how that could be implemented.

Actually, a good point of start would be to see what other drivers are doing - a lot of the drivers are using the vga/vesa bios for DDC information - so the beginning of the PreInit could probably just be copied from some other driver (i.e. I see a lot of similarities with ati r128_driver.c).