[Mesa-dev] [PATCH 0/6] nvc0: new validation path for compute

Samuel Pitoiset samuel.pitoiset at gmail.com
Sun Feb 21 14:19:43 UTC 2016


Hi,

This series reworks the validation path for compute.

There are no regressions for both piglit and deqp on my NVD9. I also tested
MP performance counters which use a compute program to read the counters,
works fine too.

Please review.

Samuel Pitoiset (6):
  nvc0: move nvc0_validate_global_residents() to its correct location
  nvc0: rework nvc0_compute_validate_program()
  nvc0: rename nvc0_graph_state::flushed to ::flushed_3d
  nvc0: introduce a flushed flag for compute validation path
  nvc0: rework the validation path for 3D
  nvc0: add new validation path for compute

 src/gallium/drivers/nouveau/Makefile.sources       |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_compute.c    | 72 +++++++---------------
 src/gallium/drivers/nouveau/nvc0/nvc0_compute.h    |  4 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_context.c    |  6 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_context.h    |  6 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.h     |  3 +-
 .../drivers/nouveau/nvc0/nvc0_shader_state.c       |  2 +-
 .../drivers/nouveau/nvc0/nvc0_state_validate.c     | 53 ++++++++--------
 .../drivers/nouveau/nvc0/nvc0_state_validate.h     | 19 ++++++
 src/gallium/drivers/nouveau/nvc0/nvc0_surface.c    |  5 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c        |  3 +-
 src/gallium/drivers/nouveau/nvc0/nve4_compute.c    | 56 +++++++++--------
 12 files changed, 112 insertions(+), 118 deletions(-)
 create mode 100644 src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.h

-- 
2.6.4



More information about the mesa-dev mailing list