[Mesa-dev] [RFC 0/7] XA patches to for freedreno/a3xx DDX

Rob Clark robdclark at gmail.com
Tue May 28 07:13:25 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'm not entirely sure what is the best way to handle this, since it
would require some minor changes in vmwgfx DDX.  Hopefully it is ok to
bump the major revision # (not done yet).

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 (2):
  xa: add xa_surface_from_handle()
  freedreno: add xa-freedreno target

 configure.ac                                     |  4 +-
 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       | 71 +++++++++++++++++++++---
 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/xatracker.pc.in |  9 +++
 11 files changed, 200 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/xatracker.pc.in

-- 
1.8.1.4



More information about the mesa-dev mailing list