Re: [Intel-gfx] [PATCH] drm/i915: Unset mmap_offset on failure path.

2010-07-10 Thread Chris Wilson
On Sat, 10 Jul 2010 08:58:55 +0100, Chris Wilson wrote: > If we fail to correctly setup the mapping for an object, make sure that > we nullify the pointer within the object after tearing down. Otherwise, > we may later attempt to reuse the invalid pointer... False alarm. It's guarded by mmap_off

[Intel-gfx] [PATCH] drm/i915: Unset mmap_offset on failure path.

2010-07-10 Thread Chris Wilson
If we fail to correctly setup the mapping for an object, make sure that we nullify the pointer within the object after tearing down. Otherwise, we may later attempt to reuse the invalid pointer... Signed-off-by: Chris Wilson Cc: sta...@kernel.org --- drivers/gpu/drm/i915/i915_gem.c |1 + 1 f