i965/drm: Remove Gen2-3 fence accounting.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 30 Mar 2017 18:46:05 +0000 (11:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:31:20 +0000 (14:31 -0700)
commitddf01d3f419b8f17c32a2ed376529a48bb9c80db
tree310220cc00b63bebd37bd3b5eaf67b7b10d6a0e3
parent4f698b004907ed2b8e605fe58373cd807377c1d0
i965/drm: Remove Gen2-3 fence accounting.

Since gen4, we do not use fence registers for any GPU access and so
never have to account for the fence during batch construction. All the
related fence functions are unused.

Based on Kristian Høgsberg's patch; commit message by Chris Wilson.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_bufmgr.h
src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
src/mesa/drivers/dri/i965/intel_bufmgr_priv.h