[Mesa-dev] [PATCH 0/3] enable XA for freedreno
Rob Clark
robdclark at gmail.com
Sat Feb 8 14:41:54 PST 2014
From: Rob Clark <robclark at freedesktop.org>
Now that the rendering corruption issues from the very early days of
a3xx gallium are solved it is time to return to freedreno XA support,
so that presentation blit for windowed apps (and post-sub-buffer) !=
stall + memcpy(). With basic XA working now in xf86-video-freedreno,
it is pretty much a 2x boost for es2gears, glmark2, etc. (es2gears:
900+fps, or 1200fps on apq8074/a330 :-P)
This patchset makes a single libxatracker.so able to load any gallium
driver (that pipe-loader can load), so that it can be used by more
than just vmwgfx ddx.
The first patch makes pipe-loader usable within xserver, by splitting
pipe-loader into two builds (of the same code). The "client" version
continues to link in client side libs (for dri authentication, etc).
The second patch converts XA state tracker over to use pipe-loader.
And the third patch adds pipe loader support for freedreno, which I
somehow forgot to add before.
Rob Clark (3):
pipe-loader: split out "client" version
st/xa: use pipe-loader to get screen
pipe-loader: add pipe loader for freedreno/msm
configure.ac | 19 ++++---
src/gallium/auxiliary/pipe-loader/Makefile.am | 19 +++++--
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 2 +
src/gallium/state_trackers/xa/Makefile.am | 11 +++-
src/gallium/state_trackers/xa/xa_priv.h | 1 +
src/gallium/state_trackers/xa/xa_tracker.c | 6 ++-
src/gallium/state_trackers/xa/xatracker.pc.in | 9 ++++
src/gallium/targets/Makefile.am | 4 --
src/gallium/targets/gbm/Makefile.am | 4 +-
src/gallium/targets/opencl/Makefile.am | 4 +-
src/gallium/targets/pipe-loader/Makefile.am | 16 ++++++
src/gallium/targets/pipe-loader/pipe_msm.c | 20 +++++++
src/gallium/targets/xa-vmwgfx/Makefile.am | 61 ----------------------
src/gallium/targets/xa-vmwgfx/vmw_target.c | 26 ---------
src/gallium/targets/xa-vmwgfx/xatracker.pc.in | 9 ----
src/gallium/tests/trivial/Makefile.am | 4 +-
16 files changed, 98 insertions(+), 117 deletions(-)
create mode 100644 src/gallium/state_trackers/xa/xatracker.pc.in
create mode 100644 src/gallium/targets/pipe-loader/pipe_msm.c
delete mode 100644 src/gallium/targets/xa-vmwgfx/Makefile.am
delete mode 100644 src/gallium/targets/xa-vmwgfx/vmw_target.c
delete mode 100644 src/gallium/targets/xa-vmwgfx/xatracker.pc.in
--
1.8.5.3
More information about the mesa-dev
mailing list