Re: 4.5.0 rc2 X Server hangs w/radeon 9200 card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 07, 2005 at 12:15:56PM -0800, Philippe Troin wrote:
>David Dawes <dawes@xxxxxxxxxxx> writes:
>
>> Can you send the 4.4.0 log for reference?
>
>Sure.
>
>While diffing both logs, I've noticed that 4.5.0rc2 detects this card
>as PCI, while 4.4.0 detects it correctly as an AGP card.

Both logs show 256MB detected, but overriden to 128MB.  Did 4.4.0 work
without this override?  If so, do you have the log for that?

While this can be handled within the radeon driver, it may be a good
idea to provide a way of validating and handling this kind of thing at
the level of the bus mapping functions (post-4.5 of course).

Regarding AGP/PCI detection, the code for that does not appear to have
changed since 4.4.0:

    agpCommand = pciReadLong(info->PciTag, RADEON_AGP_COMMAND_PCI_CONFIG);
    pciWriteLong(info->PciTag, RADEON_AGP_COMMAND_PCI_CONFIG,
                 agpCommand | RADEON_AGP_ENABLE);
    if (pciReadLong(info->PciTag, RADEON_AGP_COMMAND_PCI_CONFIG)
        & RADEON_AGP_ENABLE) {
        info->IsPCI = FALSE;
        xf86DrvMsg(pScrn->scrnIndex, X_INFO, "AGP card detected\n");
    } else {
        info->IsPCI = TRUE;
        xf86DrvMsg(pScrn->scrnIndex, X_INFO, "PCI card detected\n");
    }

Is the result different the first time after a reboot vs subsequent times?

David
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux