On Mon, 28 Feb 2005 01:05:43 -0500 (EST), Vladimir Dergachev
<[EMAIL PROTECTED]> wrote:
> >> Hopefully, the updated drm will allow me to stay in X for a while
> >> without encountering the
> >> "WaitForSomething(): select: errno=22" error I was having with the
> >> current drm.
> >>
> >> One question about tiling, will this cause any problems with the current
> >> r300 code?  Or is it
> >> something completely unrelated?
> >
> >
> > tiling is disabled by default on r3/4xx cards so it shouldn't affect
> > you.  someone needs to figure out how to properly enable it on r3/4xx
> > cards (for both 2d and 3d).  Once it is figured out it should provide
> > a nice boost in performance.
> 
> Alex,
> 
>     Could you explain to me what tiling is ? I thought it is simply a way
> to render images larger than 2048x2048, in which case I do not see how it
> can increase performance (ignoring things like cache sizes)
> 
>     There is a "TILING" register in R300 which we set, but I believe it
> refers to something different - partioning rendering into small squares
> (like 16x16) for the benefit of the rendering engine.
> 

that's pretty much what tiling is.  you can represent the framebuffer
either linearly, or as a series of fixed size tiles. for example, you
might bave fixed size tiles of 1024 bytes. so each tile would be 16
pixels x 16 pixels x 4 bytes for depth 24 and 32x16x2 for depth 16.

linear framebuffer:
_________________
|                                |
|                                |
|________________|

tiled framebuffer:

_________________
|__|__|__|__|__|__|__ |
|__|__|__|__|__|__|__ |
|__|__|__|__|__|__|__ |


when you use tiles you usually need to make allocation in units of full tiles.
fixed sized tiles can speed up rendering as tiles probably better
utilize the cache and redeuces the amount of framebuffer that has to
be processed as only affected tiles need to be updated.

Alex


>                     thank you !
> 
>                           Vladimir Dergachev
> 
> >
> > Alex
> >
> >>
> >> Cheers,
> >> Ben Skeggs.
> >>
> >>>
> >>>                        best
> >>>
> >>>                           Vladimir Dergachev
> >>>
> >
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to