[PATCH 0/8] xf86-video-modesetting on GBM

Kenneth Graunke kenneth at whitecape.org
Tue Dec 9 16:55:23 PST 2014


Hello,

This patch series makes xf86-video-modesetting use GBM for its front
buffer allocation rather than dumb BOs (when using Glamor).  On Intel
hardware, this means Glamor gets a tiled buffer for rendering, rather
than a linear one.

These patches are available in the 'gbm-v3' branch of my tree:
git://people.freedesktop.org/~kwg/xserver

They're heavily based on Dave Airlie's work:
http://lists.x.org/archives/xorg-devel/2014-November/044609.html
I mainly just tidied them up a bit.  One difference is that I haven't
moved the drmmode_create_initial_bos call - I wasn't sure why that was
necessary.

One remaining piece of work is to hook up bpp properly, rather than
using ARGB8888 all the time.  I wasn't sure how to get at the visual
information, and also wasn't sure how to properly test non-default bpp
cases.

These are also my first X server patches, so I may be doing a lot of
silly newbie mistakes.  I appreciate any feedback :)

--Ken



More information about the xorg-devel mailing list