nv50,nvc0: re-bind old compute state after reading MP perf counters
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 May 2016 20:25:59 +0000 (22:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 May 2016 20:30:48 +0000 (22:30 +0200)
commit819836d240898e8048ddcf9baf25d93235ab2410
tree9c51f5fb4b46aa8c91a86d7d74ace644efa218c2
parentdcf8c4425a2591504223a7d0a4b154b780af451e
nv50,nvc0: re-bind old compute state after reading MP perf counters

This might be useful to avoid breaking the current compute state when
monitoring MP perf counters because we use a compute kernel to read out
those counters. This has been initially suggested by Ilia Mirkin.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c