Re: [PATCH] disable CPU side GART accesses

Bob Montgomery
2008-10-29T20:52:40Z

On Mon, 2008-10-27 at 23:06 +0000, Yinghai Lu wrote:
> Bob Montgomery wrote:
> > On Wed, 2008-10-15 at 23:48 +0000, Ingo Molnar wrote:
> >> (Cc:-ed the GART folks.)
> >
> > Are there any objections to this patch? The problem has been reproduced
> > in 2.6.18 and 2.6.27, so existing changes in the gart code have not
> > addressed it.
>
> better to have someone with amd system + 8g ram + agp adapter to verify it...
>
> YH

Good idea.

I don't think HP made a system with opteron and agp, so I haven't found
a system here to test. But I did see that there have been non-HP
motherboards from several years ago that advertised opteron with agp.
Anyone running that type of system?

The other question is whether AGP graphics on linux for amd64 ever
expected host translation to work, since setting DisGartCpu is turning
off host translation.

I saw this in the AGP 3.0 spec (hopeful, but inconclusive):

"8. The Core-logic is not required by the AGP specification to translate
accesses directed to the AGP aperture by a host processor –
termed host translation. Portable AGP3.0 software should not rely
upon the existence of host translation."

Any advice from graphics experts?

Bob Montgomery