[Bug 13190] Radeon driver doesn't detect AGP v3 with X700 AGP

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 12 07:22:53 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=13190





------- Comment #6 from sroland at tungstengraphics.com  2007-11-12 07:28 PST -------
(In reply to comment #5)
> Created an attachment (id=12470)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=12470&action=view) [details]
> Xorg log without patched driver, AGPMode set to 4.
> 
> When AGPMode is 8 driver complains that 8 is invalid and sets AGP 1x.

Seems like the chip is lying about being in agp 3.0 or agp 2.0 mode - those
cards have the rialto bridge chip. The agpgart driver ignores this probably and
just uses whatever the bridge says the mode is (which must match).
Maybe we should just do the same.
So changing agp_status to this might work:
    /* ignore agp 3.0 mode bit from the chip as it's buggy on some cards with
pcie-agp rialto bridge chip - use the one from bridge which must match */
    CARD32 agp_status = ((INREG(RADEON_AGP_STATUS) | RADEON_AGPv3_MODE) & mode;
Does this work for you? I guess this change should be safe.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-driver-ati mailing list