i965: Prepare INTEL_DEBUG=bat decoding for a separate statebuffer.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Aug 2017 08:37:24 +0000 (01:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Sep 2017 23:17:36 +0000 (16:17 -0700)
commit2e68c4e4547292d3e5b743bb6e28912b1d9d62ae
tree532580b62c18b0de08e609f6932a1450741f623d
parente723255901171643060430dd5f32cd1350fa8800
i965: Prepare INTEL_DEBUG=bat decoding for a separate statebuffer.

We'll need to read from both buffers when decoding state.

This also drops the "failed to map" fallback - it's completely useless
on LLC systems where we write directly to the mapped BO.  It's not that
useful on non-LLC systems either.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/intel_batchbuffer.c