i965: Make room in the batch epilogue for three more pipe controls.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 1 Jul 2016 04:15:26 +0000 (21:15 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 7 Jul 2016 21:16:39 +0000 (14:16 -0700)
commit0bd3a121c6ea818b656082676f992b41204c5b41
treeec7c49ee70ade7ee340ab7a34a3063272c0153cb
parenta10879f48cedb1ef906becba0abad0af27482f34
i965: Make room in the batch epilogue for three more pipe controls.

Review carefully, it sucks to have to keep track of the number of
command packet dwords emitted in the batch epilogue manually.  The
MI_REPORT_PERF_COUNT_BATCH_DWORDS calculation was obviously wrong.

Cc: "12.0 11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_performance_monitor.c
src/mesa/drivers/dri/i965/intel_batchbuffer.h