[PATCH] radeon: avoid using hw pixmaps when we have little VRAM.
Michel Dänzer
michel at daenzer.net
Fri Nov 20 01:01:00 PST 2009
On Fri, 2009-11-20 at 12:21 +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This patch returns NULL for pixmap creation when we are using
> mixed pixmaps and the pixmap has a size.
>
> The size check is necessary for the front buffer.
>
> We add a flag to force pixmap creation for certain pixmaps
> that need to be hw, like the DRI2 and Xv ones.
>
> Idea from Michel and workarounds from Ben Skeggs.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
Basically looks good, though it might be nice to be able to override
this with a xorg.conf boolean option, the default value of which could
be chosen according to whatever heuristic (currently info->vram_size <=
(32*1024*1024)).
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg-driver-ati
mailing list