sna: Trim the overestimate of required aperture space for fence alignment
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Nov 2013 21:59:37 +0000 (21:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 09:01:17 +0000 (09:01 +0000)
commit7f901495cdef0ae3b4a328bb98a6bc0ff03ea362
treedb81f3d284408dc4a399011597b9343ec8c9f2ee
parent736b496b458d666416ea94f157c05ce78f98a600
sna: Trim the overestimate of required aperture space for fence alignment

We can optimistically only require that we waste the largest fence
region in a batch, as all other fences will then be naturally aligned as
well. So long as the kernel succeeds in defragmenting the aperture...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/kgem.c
src/sna/kgem.h