[Mesa-dev] [PATCH 0/2] Turning swrast into DRI2 drivers

Giovanni Campagna scampa.giovanni at gmail.com
Fri Apr 11 17:25:38 PDT 2014

Hi everyone,

Some time ago I sent patches to enable the swrast driver on
GBM/DRM, and I did them in the dumbest way possible (that is,
having GBM implement the dri-swrast interface), to make sure
it would work without kernel support.
This patch series is a little smarter, in that it creates
more than one KMS buffer and has llvmpipe render directly
into the KMS buffer, so we don't need to copy from the back
to the shadow (before the kernel copies from the shadow to
the front).

For background, this is necessary to get mutter-wayland running
inside VMs such as gnome-continuous, which has a qxl DRM driver.
mutter-wayland only has a KMS/EGL rendering backend, and we
have no intention to add pixman or fbdev.
GNOME bug: https://bugzilla.gnome.org/show_bug.cgi?id=728059

The older patches were http://lists.freedesktop.org/archives/mesa-dev/2014-March/055113.html
I can rebase if so is desired.

More information about the mesa-dev mailing list