nvc0: fix offsets of MP perf counters input parameters
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 21 Jul 2016 20:15:52 +0000 (22:15 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Jul 2016 09:32:04 +0000 (11:32 +0200)
commitdbcff7fdbba8cf1305e1670f47cadffe676df252
tree123c4ff8bc8883d00409c140c549a808e00287d8
parentcb7077312954299fb1febed5b016190c00cccfa0
nvc0: fix offsets of MP perf counters input parameters

This fixes a regression introduced in
1da704a94c57aa0b0cf8faaa3236fe47dfb8f88c because the offset has moved
from 0x600 to 0x620, and the kernels used for reading MP perf counters
have to be re-assembled.

This also fixes amd_performance_monitor_measure piglit.

Fixes: 1da704a ("nvc0: increase the tex handles area size in the driver")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c