sna: Trim usuable fenced aperture by unfenced usage
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2013 14:09:19 +0000 (15:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2013 16:47:54 +0000 (17:47 +0100)
commitb480e1ec503534310d3875aef81ed191aeb93313
tree997dee8d5bee1d0131c24b623a794e35b56b9b8c
parent64b9f57451501830f8031d1b6ac7289642da032d
sna: Trim usuable fenced aperture by unfenced usage

This will overcount buffers that both fenced and unfenced (likely most
fenced buffers!) but is required to prevent ENOSPC due to alignment
issues.

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