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

Samuel Pitoiset samuel.pitoiset at gmail.com
Thu Nov 12 16:04:16 PST 2015


Hi there,

The first patch of this series implements a basic compute support which allows
to launch simple kernels on NV50 (Tesla). The other patches add some
compute-related MP performance counters that will enable
GL_AMD_performance_monitor on Tesla at the end of the series.

This has been fully tested by Pierre Moreau and myself on different chipsets.
I didn't run a full piglit but I'll do it in the next few days before merging
the series. :-)

Feel free to review.
Thanks!

Samuel Pitoiset (5):
  nv50: implement a basic compute support
  nv50: add compute-related MP perf counters on G84+
  nv50: add support for performance metrics on G84+
  nv50: expose two groups of compute-related MP perf counters
  docs: mark GL_AMD_performance_monitor for nv50

 docs/relnotes/11.1.0.html                          |   1 +
 src/gallium/drivers/nouveau/Makefile.sources       |   5 +
 .../drivers/nouveau/codegen/nv50_ir_driver.h       |   1 +
 src/gallium/drivers/nouveau/nv50/nv50_compute.c    | 332 +++++++++++++++
 .../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    |  24 +-
 src/gallium/drivers/nouveau/nv50/nv50_program.h    |   7 +
 src/gallium/drivers/nouveau/nv50/nv50_query.c      |  78 ++++
 src/gallium/drivers/nouveau/nv50/nv50_query.h      |   6 +
 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     |  63 ++-
 src/gallium/drivers/nouveau/nv50/nv50_screen.h     |  19 +
 src/gallium/drivers/nouveau/nv50/nv50_state.c      |  99 +++++
 20 files changed, 1889 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.6.2



More information about the mesa-dev mailing list