Mesa (master): nvc0: add a note about MP counters on GF100/GF110

Samuel Pitoiset hakzsam at kemper.freedesktop.org
Fri Oct 16 19:59:20 UTC 2015


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

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Oct 16 10:21:44 2015 +0200

nvc0: add a note about MP counters on GF100/GF110

MP counters on GF100/GF110 (compute capability 2.0) are buggy
because there is a context-switch problem that we need to fix.
Results might be wrong sometimes, be careful!

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c
index 6ab5090..44b222e 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c
@@ -286,6 +286,11 @@ static const struct nvc0_hw_sm_query_cfg nve4_hw_sm_queries[] =
 #undef _M2B
 
 /* === PERFORMANCE MONITORING COUNTERS for NVC0:NVE4 === */
+/* NOTES:
+ * - MP counters on GF100/GF110 (compute capability 2.0) are buggy
+ *   because there is a context-switch problem that we need to fix.
+ *   Results might be wrong sometimes, be careful!
+ */
 static const char *nvc0_hw_sm_query_names[] =
 {
    /* MP counters */




More information about the mesa-commit mailing list