Mesa (r600winsys2): r600g: set read/write usage flags for each relocation

Marek Olšák mareko at kemper.freedesktop.org
Sun Aug 7 14:24:16 PDT 2011


Module: Mesa
Branch: r600winsys2
Commit: 2bb406dbf88580cb012649fabfab81d45ddd87e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bb406dbf88580cb012649fabfab81d45ddd87e6

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Aug  7 21:14:38 2011 +0200

r600g: set read/write usage flags for each relocation

This takes advantage of the new GEM_WAIT ioctl when mapping buffers.

---

 src/gallium/drivers/r600/evergreen_state.c         |  584 ++++++++++----------
 src/gallium/drivers/r600/r600.h                    |   20 +-
 src/gallium/drivers/r600/r600_pipe.h               |    6 +-
 src/gallium/drivers/r600/r600_state.c              |  374 +++++++------
 src/gallium/drivers/r600/r600_state_common.c       |   52 +-
 src/gallium/winsys/r600/drm/evergreen_hw_context.c |    2 +-
 src/gallium/winsys/r600/drm/r600_hw_context.c      |   45 +-
 src/gallium/winsys/r600/drm/r600_priv.h            |   10 +-
 8 files changed, 564 insertions(+), 529 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=2bb406dbf88580cb012649fabfab81d45ddd87e6


More information about the mesa-commit mailing list