[Mesa-dev] [PATCH mesa 0/8] XA patches for freedreno/a3xx DDX

Rob Clark robdclark at gmail.com
Mon Jun 10 10:31:22 PDT 2013

From: Rob Clark <robclark at freedesktop.org>

The newer snapdragon devices (at least, the one I have in nexus4) no
longer has a dedicated 2D core.  For these devices, DDX needs to use
the 3D core.  I've implemented support to use XA in the DDX, but it
requires some changes which break the current API in XA.

In particular, moving where pipe->flush() happens.  But also the ref/
unref API.

I have a (compile-tested) patch for xf86-video-vmware to make it work
with the API changes.

v1: original
v2: change xa_surface_unref() to return void, bump XA major version,
    rename library for freedreno build so we don't have two conflicting

Jerome Glisse (5):
  xa: add handle type parameter to get handle
  xa: export a common context flush function
  xa: fix dma copy function
  xa: let ddx handle flush
  xa: move surface to ref/unref api

Rob Clark (3):
  xa: add xa_surface_from_handle()
  xa: bump major version
  freedreno: add xa-freedreno target

 configure.ac                                 |  6 ++-
 src/gallium/state_trackers/xa/xa_composite.c |  1 -
 src/gallium/state_trackers/xa/xa_context.c   | 24 +++++-----
 src/gallium/state_trackers/xa/xa_context.h   |  2 +
 src/gallium/state_trackers/xa/xa_priv.h      |  4 ++
 src/gallium/state_trackers/xa/xa_tracker.c   | 68 +++++++++++++++++++++++++---
 src/gallium/state_trackers/xa/xa_tracker.h   | 21 ++++++++-
 src/gallium/targets/Makefile.am              |  3 ++
 src/gallium/targets/xa-freedreno/Makefile.am | 65 ++++++++++++++++++++++++++
 src/gallium/targets/xa-freedreno/fd_target.c | 20 ++++++++
 src/gallium/targets/xa-freedreno/xafd.pc.in  |  9 ++++
 11 files changed, 199 insertions(+), 24 deletions(-)
 create mode 100644 src/gallium/targets/xa-freedreno/Makefile.am
 create mode 100644 src/gallium/targets/xa-freedreno/fd_target.c
 create mode 100644 src/gallium/targets/xa-freedreno/xafd.pc.in


More information about the mesa-dev mailing list