drm/i915: Skip the sanity checks if the current relocation is valid
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 Sep 2009 20:15:15 +0000 (21:15 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 18 Sep 2009 22:31:39 +0000 (15:31 -0700)
If the presumed_offset as feed to userspace and returned to the kernel
from a previous execbuffer is still valid, then we do not need to rewrite
the relocation entry and may skip the offset sanity checks.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found