On Sat, 2005-01-15 at 12:21 +0100, Jerome Glisse wrote:
> 
> I wanted to know if someone with and x86 could test
> if by adding :
> agp_physical=(((get_int(RADEON_MC_AGP_LOCATION))& 0x0ffffU) << 16);
> 
> to the end of function void GetMaps(void) all demos
> keep working ? I quite confident that they will :)
> 
> The purpose for this is that on PPC (g4 & g5 uninorth & u3)
> agp bridge have some weird bug that make you set agp base
> to 0x0, thus drmAgpBase give you 0x0. Maybe drm lib should be
> fixed and give correct physical agp adress but i do not
> see how to fix this properly in drm (to tell the true haven't
> really looked to fix this in drm :)).

I think I have too little context here, but FWIW: RADEON_MC_AGP_LOCATION
is the location of the linear AGP aperture as seen by the chip. 0x0 is
probably due to at least UniNorth bridges not providing a physically
linear view of the aperture to the CPU.


> 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?


-- 
Earthling Michel DÃnzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer


-------------------------------------------------------
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