new radeon tiling patch

Michel Dänzer michel at daenzer.net
Thu Jan 20 11:52:09 PST 2005


On Thu, 2005-01-20 at 03:03 +0100, Stephane Marchesin wrote:
> Michel Dänzer wrote:
> 
> >What happened to Stephane's surface allocator, BTW? If you just whack
> >the surface registers directly from the X server, it becomes hard if not
> >impossible to introduce such an allocator, at least for the surfaces
> >touched directly by the X server...
> >
> Ok, I'm late, but here it is.
> Also attached is the small patch for the ddx.
> 
> It is supposed to be used with the drmCommand interface, btw :
> drmRadeonSurfaceAlloc drmalloc_front;
> drmalloc_front.lower=(info->frontOffset) &~0x3ff ;
> drmalloc_front.size=bufferSize -1 ;
> drmalloc_front.flags=pitch | RADEON_SURF_TILE_COLOR_MACRO;
> drmCommandWrite(info->drmFD, DRM_RADEON_SURF_ALLOC, 
> &drmalloc_front,sizeof(drmalloc_front));

Looks good to me. Have you solved the cleanup issues we discussed on IRC
in the meantime?


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



More information about the xorg mailing list