[Intel-gfx] [PATCH 1/3] drm/i915: i915_gem_object_sync must handle NULL

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 11 20:41:04 CEST 2012


On Wed, 11 Apr 2012 11:18:19 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> When I extracted the synchronization code for implementing semaphorified
> pageflips (74f5f6e0), I neglected the non pipelined case which also
> calls this code. The modesetting code wants to make sure the object has
> finished rendering to the frame before configuring the scanout (ie.
> non-pipelined case).
> 
> As a result of a follow on discussion on IRC, I've decided to add a
> comment about the function itself which received much inspiration from
> Chris as well. So really, this patch was ghost-written by Chris :).
> 
> Reported-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Tested-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list