Mesa (master): r600g: attempt to abstract kernel bos from pipe driver.

Dave Airlie airlied at kemper.freedesktop.org
Thu Sep 16 18:04:25 PDT 2010


Module: Mesa
Branch: master
Commit: f70f79f6f6027bdf2f7de09bb39e12a24420f338
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f70f79f6f6027bdf2f7de09bb39e12a24420f338

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Sep 16 20:22:09 2010 +1000

r600g: attempt to abstract kernel bos from pipe driver.

introduce an abstraction layer between kernel bos and the winsys BOs.

this is to allow plugging in pb manager with minimal disruption to pipe driver.

---

 src/gallium/drivers/r600/eg_hw_states.c    |   33 +++++++-------
 src/gallium/drivers/r600/r600_blit.c       |   58 ++++++++++++++-----------
 src/gallium/drivers/r600/r600_buffer.c     |   31 +++++++------
 src/gallium/drivers/r600/r600_context.h    |    4 +-
 src/gallium/drivers/r600/r600_hw_states.c  |   40 +++++++++---------
 src/gallium/drivers/r600/r600_query.c      |   15 +++----
 src/gallium/drivers/r600/r600_resource.h   |    5 +-
 src/gallium/drivers/r600/r600_shader.c     |   13 +++---
 src/gallium/drivers/r600/r600_state.c      |    4 +-
 src/gallium/drivers/r600/r600_texture.c    |   25 ++++++-----
 src/gallium/drivers/r600/radeon.h          |   31 +++++--------
 src/gallium/winsys/r600/drm/Makefile       |    3 +-
 src/gallium/winsys/r600/drm/r600_drm.c     |   23 ----------
 src/gallium/winsys/r600/drm/r600_state.c   |   22 +++++-----
 src/gallium/winsys/r600/drm/radeon_bo.c    |   34 +++++++--------
 src/gallium/winsys/r600/drm/radeon_ctx.c   |   35 ++++++++-------
 src/gallium/winsys/r600/drm/radeon_priv.h  |   30 +++++++++++++-
 src/gallium/winsys/r600/drm/radeon_state.c |    2 +-
 src/gallium/winsys/r600/drm/radeon_ws_bo.c |   63 ++++++++++++++++++++++++++++
 19 files changed, 272 insertions(+), 199 deletions(-)

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


More information about the mesa-commit mailing list