[Mesa-dev] [PATCH v2 0/3] nv50: compute support & some perf counters

Samuel Pitoiset samuel.pitoiset at gmail.com
Sat Nov 14 13:24:55 PST 2015


Hi,

Only patch 1/3 has been updated. Patches 4 and 5 of the first version
have been dropped because those groups of GPU counters are going to
be removed.

Thanks.

Samuel Pitoiset (3):
  nv50: implement a basic compute support
  nv50: add compute-related MP perf counters on G84+
  nv50: add support for performance metrics on G84+

 src/gallium/drivers/nouveau/Makefile.sources       |   5 +
 src/gallium/drivers/nouveau/nv50/nv50_compute.c    | 320 +++++++++++++++
 .../drivers/nouveau/nv50/nv50_compute.xml.h        | 444 +++++++++++++++++++++
 src/gallium/drivers/nouveau/nv50/nv50_context.c    |  30 +-
 src/gallium/drivers/nouveau/nv50/nv50_context.h    |  24 +-
 src/gallium/drivers/nouveau/nv50/nv50_program.c    |  22 +-
 src/gallium/drivers/nouveau/nv50/nv50_program.h    |   7 +
 src/gallium/drivers/nouveau/nv50/nv50_query.c      |  23 ++
 src/gallium/drivers/nouveau/nv50/nv50_query_hw.c   |  47 ++-
 src/gallium/drivers/nouveau/nv50/nv50_query_hw.h   |  16 +
 .../drivers/nouveau/nv50/nv50_query_hw_metric.c    | 207 ++++++++++
 .../drivers/nouveau/nv50/nv50_query_hw_metric.h    |  34 ++
 .../drivers/nouveau/nv50/nv50_query_hw_sm.c        | 417 +++++++++++++++++++
 .../drivers/nouveau/nv50/nv50_query_hw_sm.h        |  45 +++
 src/gallium/drivers/nouveau/nv50/nv50_screen.c     |  62 ++-
 src/gallium/drivers/nouveau/nv50/nv50_screen.h     |  17 +
 src/gallium/drivers/nouveau/nv50/nv50_state.c      |  99 +++++
 17 files changed, 1809 insertions(+), 10 deletions(-)
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_compute.c
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_compute.xml.h
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.h
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c
 create mode 100644 src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.h

-- 
2.5.3



More information about the mesa-dev mailing list