On Sat, 2005-01-15 at 17:29 +0100, Jerome Glisse wrote:

> Yes, in r300_demo i need to know the physical address of
> the agp aperture and if i ask the card what is the physical
> address i get the good answer :) I suppose drmAgpBase
> give the good answer too but only on x86. Anyway i know
> too little on all this memory setup...I may have a false view
> of that.

What do you mean about physical address and what do you need it for ?

Again on the bus itself, it's at 0 (overlapping RAM for AGP cycles only
though) which is what you put in AGP_BASE_ADDR, but the engine "sees" it
at MC_FB_LOCATION which is usually set right above the framebuffer.

> > > Now i also get texture looking good with r300_demo, i will
> > > look at r300_driver see where is the prob.
> > 
> > Maybe r300_demo doesn't use hostdata blits for uploading the texture
> > data?
> > 
> No and this why this work :) It use the linear AGP.

Can you explain more ? You can't just map the linear AGP from it's
physical address on uninorth.

Ben.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to