[PATCH] dri2video support
Rob Clark
rob.clark at linaro.org
Tue Nov 15 14:49:46 PST 2011
From: Rob Clark <rob at ti.com>
This set of patches for various trees adds support for dri2 video.
The mesa patch is not strictly required, but provides the changes to
utilize libdri2 client side lib (rather than duplicating the client
side proto code). The libdri2 patch has a simple test app.
Since I guess more folks have access to gfx cards supported by the
nouveau driver, compared to hw to run ARM/OMAP driver, I've included
a patch adding support to xf86-video-nouveau. I'm a newbie to this
driver so I don't claim that my implementation here is the best, but
it is at least a starting point and good enough for a proof of
concept.
There are a few things left to do, such as OSD support (for a layer
blended above the video).
I've tested the following combinations, to ensure that I don't break
compatibility with any of the possible combinations of mesa/client,
xserver, and driver:
- old client <-> new xserver <-> old driver
- old client <-> new xserver <-> new driver
- old client (new dri2proto.h) <-> new xserver <-> old driver
- old client (new dri2proto.h) <-> new xserver <-> new driver
- new client <-> old xserver <-> old driver
- new client <-> new xserver <-> old driver
- new client <-> new xserver <-> new driver
See the comments in dri2proto patch for more description and
reasoning behind the change.
--
1.7.5.4
More information about the xorg-devel
mailing list