[Intel-gfx] [PATCH 2/2] drm/i915: Skip the sanity checks if the current relocation is valid
Jesse Barnes
jbarnes at virtuousgeek.org
Sat Sep 19 00:32:09 CEST 2009
On Wed, 9 Sep 2009 21:15:15 +0100
Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 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 at chris-wilson.co.uk>
> ---
> drivers/gpu/drm/i915/i915_gem.c | 92
> ++++++++++++++++++++------------------- 1 files changed, 47
> insertions(+), 45 deletions(-)
Applied these two, sorry for missing them before.
--
Jesse Barnes, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list