OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Jul 2016 10:52:56 +0000 (11:52 +0100)
commit2035ac24ce3a60741993156462f156cad64daf67
treef9fe1fc99d23f2effb71c39ed7dc6bf9febd1451
parent72d287e347463b6a6c1988dd3044cd11f5cf9c67
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>
(cherry picked from commit 0bd3a121c6ea818b656082676f992b41204c5b41)
src/mesa/drivers/dri/i965/brw_performance_monitor.c
src/mesa/drivers/dri/i965/intel_batchbuffer.h