[Intel-gfx] [PATCH 38/49] drm/i915: Skip allocating shadow batch for 0-length batches

Daniel Vetter daniel at ffwll.ch
Mon Mar 30 07:59:43 PDT 2015


On Mon, Mar 30, 2015 at 01:02:50PM +0100, Chris Wilson wrote:
> On Fri, Mar 27, 2015 at 11:02:10AM +0000, Chris Wilson wrote:
> > Since
> > 
> > commit 17cabf571e50677d980e9ab2a43c5f11213003ae
> > Author: Chris Wilson <chris at chris-wilson.co.uk>
> > Date:   Wed Jan 14 11:20:57 2015 +0000
> > 
> >     drm/i915: Trim the command parser allocations
> > 
> > we may then try to allocate a zero-sized object and attempt to extract
> > its pages. Understandably this fails.
> 
> The original failure was in
> 
> committ b9ffd80ed659c559152c042e74741f4f60cac691
> Author: Brad Volkin <bradley.d.volkin at intel.com>
> Date:   Thu Dec 11 12:13:10 2014 -0800
> 
>     drm/i915: Use batch length instead of object size in command parser
> 
> merged in the v4.0 cycle.
> 
> Jani, pretty please?

Cherry-picked and added the real sha1 citation, thanks.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list