i965: Don't double count the batch in aperture_space.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Aug 2017 08:02:30 +0000 (01:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Sep 2017 16:59:25 +0000 (09:59 -0700)
commit6ec7bddb19aee9faf28bfaac45f39b81708214d7
treed8f8ba8fdc3faab21ba3e55994d5d328c0b258a4
parent43145bbf097dd0c973bb19afd9227cf3ce75f52a
i965: Don't double count the batch in aperture_space.

intel_batchbuffer_reset calls add_exec_bo on the batch right away,
which adds in the batch BO size.

Fixes: 29ba502a4e28 ("i965: Use I915_EXEC_BATCH_FIRST when available.")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/intel_batchbuffer.c