[Mesa-dev] [PATCH 0/4] nv50: move HW queries to nv50_query_hw.c/h

Samuel Pitoiset samuel.pitoiset at gmail.com
Sun Oct 18 14:30:48 PDT 2015


Hi there,

As for nvc0, this series moves HW queries to improve readability of this
area of the driver and to prepare the way for both MP counters and global
perf counters.

There are no regressions with piglit.

Feel free to review,
Thanks.

Samuel Pitoiset (4):
  nv50: add a header file for nv50_query
  nv50: move nva0_so_target_save_offset() to its correct location
  nv50: move HW queries to nv50_query_hw.c/h files
  nv50: do not create an invalid HW query type

 src/gallium/drivers/nouveau/Makefile.sources       |   3 +
 src/gallium/drivers/nouveau/nv50/nv50_context.h    |  12 +-
 src/gallium/drivers/nouveau/nv50/nv50_query.c      | 397 ++------------------
 src/gallium/drivers/nouveau/nv50/nv50_query.h      |  33 ++
 src/gallium/drivers/nouveau/nv50/nv50_query_hw.c   | 410 +++++++++++++++++++++
 src/gallium/drivers/nouveau/nv50/nv50_query_hw.h   |  50 +++
 .../drivers/nouveau/nv50/nv50_shader_state.c       |   7 +-
 src/gallium/drivers/nouveau/nv50/nv50_state.c      |  21 +-
 src/gallium/drivers/nouveau/nv50/nv50_vbo.c        |   4 +-
 9 files changed, 551 insertions(+), 386 deletions(-)
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_query.h
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_query_hw.c
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_query_hw.h

-- 
2.6.1



More information about the mesa-dev mailing list