diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-03 07:33:35 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-03 07:33:35 +0100 |
commit | 4de3f9bd79d8e42f9767c9fe44d553cfb749ac65 (patch) | |
tree | 6bcd4b6259a3b0d5b9471cba90ffdb249712827a | |
parent | af60a104acfcc64a63987f93bb77ffa21be1ead1 (diff) |
sna: Relax restriction on fenced aperture check
This is done upfront based on the fenced size within the batch, so we do
not need to assume everything is fenced later on.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 17c69658..865291e2 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -5330,8 +5330,6 @@ static bool aperture_check(struct kgem *kgem, unsigned num_pages) DBG(("%s: num_pages=%d, holding %d pages in reserve, total aperture %d\n", __FUNCTION__, num_pages, reserve, kgem->aperture_total)); num_pages += reserve; - if (kgem->gen < 040 && num_pages > kgem->aperture_fenceable) - return false; VG_CLEAR(aperture); aperture.aper_available_size = kgem->aperture_total; |