sna: The initial aperture check for a set of bo is unlikely to fail

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-10-19 17:52:56 +01:00
parent 3c8e1c5c4c
commit d7fb98efdc
1 changed files with 1 additions and 1 deletions

View File

@ -1621,7 +1621,7 @@ bool kgem_check_bo_fenced(struct kgem *kgem, ...)
int size = 0;
int fenced_size = 0;
if (kgem->aperture > kgem->aperture_low)
if (unlikely (kgem->aperture > kgem->aperture_low))
return false;
va_start(ap, kgem);