On Wed, Nov 16, 2011 at 12:49:28AM +0600, Rakib Mullick wrote: > > A call to i915_add_request() has been made in function i915_gem_busy_ioctl(). > i915_add_request can fail, > so in it's exit path previously allocated memory needs to be freed. > > Signed-off-by: Rakib Mullick <rakib.mullick at gmail.com>
Indeed, nice catch (albeit totally unlikely to be hit, because the error only happens when the gpu ceases to progress in the ring, so imo not stable material). Keith, please pick this up for fixes, thanks. Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch> -- Daniel Vetter Mail: daniel at ffwll.ch Mobile: +41 (0)79 365 57 48